package httpun-ws

  1. Overview
  2. Docs
type standard_non_control = [
  1. | `Continuation
  2. | `Text
  3. | `Binary
]
type standard_control = [
  1. | `Connection_close
  2. | `Ping
  3. | `Pong
]
type standard = [
  1. | standard_non_control
  2. | standard_control
]
type t = [
  1. | standard
  2. | `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 pp_hum : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.