package dream-httpaf
Module Websocket.Close_codeSource
Source
type 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
]Source
val 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 ] ->
intSource
val 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