Module Websocket.Close_codeSource
Sourcetype standard = [ | `Normal_closure| `Going_away| `Protocol_error| `Unsupported_data| `No_status_rcvd| `Abnormal_closure| `Invalid_frame_payload_data| `Policy_violation| `Message_too_big| `Mandatory_ext| `Internal_server_error| `TLS_handshake
] Sourceval code :
[< `Abnormal_closure
| `Going_away
| `Internal_server_error
| `Invalid_frame_payload_data
| `Mandatory_ext
| `Message_too_big
| `No_status_rcvd
| `Normal_closure
| `Other of int
| `Policy_violation
| `Protocol_error
| `TLS_handshake
| `Unsupported_data ] ->
int Sourceval unsafe_of_code : int -> t Sourceval of_code : int -> t option Sourceval to_int :
[< `Abnormal_closure
| `Going_away
| `Internal_server_error
| `Invalid_frame_payload_data
| `Mandatory_ext
| `Message_too_big
| `No_status_rcvd
| `Normal_closure
| `Other of int
| `Policy_violation
| `Protocol_error
| `TLS_handshake
| `Unsupported_data ] ->
int