-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to switch transport API (#435)
feat(transport): add the ability to switch transport API For the browser version of PubNub SDK, add the ability to switch between `fetch` and `xhr` APIs (`transport` configuration option). fix(event-engine): handshake/receive requests timeout Fix issue because of which, in Event Engine mode, wrong timeout values have been set for requests which creates long-poll request. refactor(request): make sure request cancels on timeout Refactor `timeout` implementation for `fetch` transport to properly cancel request when the timeout timer will fire.
- Loading branch information
Showing
26 changed files
with
954 additions
and
452 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.