You can search for identifiers within the package.
in-package search v0.2.0
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
]
type t = [
| standard
| `Other of int
val code : t -> int
val of_code : int -> t option
val of_code_exn : int -> t
val to_int : t -> int
val of_int : int -> t option
val of_int_exn : int -> t
val of_bigstring : Bigstringaf.t -> off:int -> t option
val of_bigstring_exn : Bigstringaf.t -> off:int -> t