Skip to content

Allow user to read Ping data.#307

Open
ghost wants to merge 1 commit intomasterfrom
unknown repository
Open

Allow user to read Ping data.#307
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 24, 2016

Fixed WebSocketFrame constructor so it does not modify the PayloadData passed by parameter, allowing the user to access the data in a ping packet. Previously the WebSocketFrame constructor masked the data, so when the event reached the user the data was unreadable.

A new PayloadData copy constructor was necessary for that purpose.

…a passed by parameter, allowing the user to access the data in a ping packet.
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