pub const POLICY: u16 = 1008;
Expand description
Indicates that an endpoint is terminating the connection because it has received a message
that violates its policy. This is a generic status code that can be returned when there is
no other more suitable status code (e.g., UNSUPPORTED
or SIZE
) or if there is a need to
hide specific details about the policy.