-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(xhr): add request and response hook API (#1393)
* feat(xhr): add request and response hook API * refactor for multiple hooks * fix comment * fix spacing * use common callAllHooks fn * fix xhr hook tests * remove delete beforeRequest * finish tests * add docs to README * remove decodeURIComponent from example * rename callback sets * move hooks to xhr namespace * specify synchronous callbacks in docs
- Loading branch information
Showing
5 changed files
with
701 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.