Skip to content

Fixed send_data method for WebSocket - #249

Open
P0W wants to merge 1 commit into
OpenApi-5p:masterfrom
P0W:master
Open

Fixed send_data method for WebSocket#249
P0W wants to merge 1 commit into
OpenApi-5p:masterfrom
P0W:master

Conversation

@P0W

@P0W P0W commented Aug 8, 2023

Copy link
Copy Markdown
  • The on_open method of underlying websocket object is already updated in connect method, not sure why currently send_data also updates it.

  • The send_data method updates the on_open method of underlying websocket object, instead it should allow user to send data over websocket.

  • This fix is needed to gracefully unsubscribe from the live stream feed, on an already existing websocket connection, after we create a payload from Request_Feed method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants