package async_websocket

  1. Overview
  2. Docs
type t =
  1. | Continuation
  2. | Text
  3. | Binary
  4. | Close
  5. | Ping
  6. | Pong
  7. | Ctrl of int
  8. | Nonctrl of int
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Equal.S with type t := t
val equal : t -> t -> bool
include Ppx_quickcheck_runtime.Quickcheckable.S with type t := t
val quickcheck_generator : t Base_quickcheck.Generator.t
val quickcheck_observer : t Base_quickcheck.Observer.t
val quickcheck_shrinker : t Base_quickcheck.Shrinker.t
val of_int : int -> t
val to_int : t -> int
type kind =
  1. | Control
  2. | Non_control
val to_kind : t -> kind
OCaml

Innovation. Community. Security.