Skip to content

Comments

Support longer payload messages and added ping / pong to keep alive connection#1

Open
tjakober wants to merge 2 commits intomasterfrom
tjakober-addendum-1
Open

Support longer payload messages and added ping / pong to keep alive connection#1
tjakober wants to merge 2 commits intomasterfrom
tjakober-addendum-1

Conversation

@tjakober
Copy link
Owner

I extended your good working websocket module to support payloads up to theoretically 4GB. I also added the ping / pong mechanism that it is possible to keep the connection alive up to an added close call.

I hope this is useful, it is my first contribution on github.

…ong to keep alive connection

I extended your good working websocket module to support payloads up to theoretically 4GB. I also added the ping / pong mechanism that it is possible to keep the connection alive up to an added close call.

I hope this is useful, it is my first contribution on github.
There was an error in preparing the payload length field in the data header. Also pass the received opcode to the receive callback.
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.

1 participant