package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type standard = [
  1. | `Normal_closure
  2. | `Going_away
  3. | `Protocol_error
  4. | `Unsupported_data
  5. | `No_status_rcvd
  6. | `Abnormal_closure
  7. | `Invalid_frame_payload_data
  8. | `Policy_violation
  9. | `Message_too_big
  10. | `Mandatory_ext
  11. | `Internal_server_error
  12. | `TLS_handshake
]
type t = [
  1. | standard
  2. | `Other of int
]
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 ] -> int
val code_table : t array
val unsafe_of_code : int -> t
val of_code : int -> t option
val of_code_exn : int -> t
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
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
OCaml

Innovation. Community. Security.