nw_ws_close_code_policy_violation
An endpoint is terminating the connection because it received a message that violates its policy.
Declaration
var nw_ws_close_code_policy_violation: nw_ws_close_code_t { get }See Also
Defined Close Codes
nw_ws_close_code_normal_closurenw_ws_close_code_going_awaynw_ws_close_code_protocol_errornw_ws_close_code_unsupported_datanw_ws_close_code_no_status_receivednw_ws_close_code_abnormal_closurenw_ws_close_code_invalid_frame_payload_datanw_ws_close_code_message_too_bignw_ws_close_code_mandatory_extensionnw_ws_close_code_internal_server_errornw_ws_close_code_tls_handshake