pub const INVALID: u16 = 1007; // 1_007u16
Expand description
Indicates that 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, an endpoint received non-UTF-8 RFC3629 data within a text message.