Skip to content

Add support for overwriting Connection's read and write functions#29

Open
ariel-bentu wants to merge 2 commits into
koding:masterfrom
ariel-bentu:UpgradedAsInterface
Open

Add support for overwriting Connection's read and write functions#29
ariel-bentu wants to merge 2 commits into
koding:masterfrom
ariel-bentu:UpgradedAsInterface

Conversation

@ariel-bentu

Copy link
Copy Markdown

With this change, one can observe and modify the traffic on the websocket, and also get notified when websocket is closed. In addition, in fact one can initiate a close, by returning error from read or write.

@jmatosp

jmatosp commented Mar 15, 2019

Copy link
Copy Markdown

I do need something similar but this implementation is a bit wierd, sorry

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