-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): handle initialPayload and remove autoOpen option
Updated the WebSocket connection handling to manage the `initialPayload` more effectively and removed the `autoOpen` option from `ConnectOptions`. This change improves the initial connection process by automatically sending the `initialPayload` if it exists when the WebSocket connection opens. The removal of the `autoOpen` property simplifies the API and aligns with the existing behavior which requires calling `open` explicitly.
- Loading branch information
Showing
2 changed files
with
13 additions
and
15 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