invalidFramePayloadData top-level constant

int const invalidFramePayloadData

An endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message.

For example, the endpoint may have receieved non-UTF-8 data within a text message.

Implementation

const invalidFramePayloadData = 1007;