package trail

  1. Overview
  2. Docs
type t =
  1. | Continuation of {
    1. fin : bool;
    2. compressed : bool;
    3. payload : string;
    }
  2. | Text of {
    1. fin : bool;
    2. compressed : bool;
    3. payload : string;
    }
  3. | Binary of {
    1. fin : bool;
    2. compressed : bool;
    3. payload : string;
    }
  4. | Connection_close of {
    1. fin : bool;
    2. compressed : bool;
    3. payload : string;
    }
  5. | Ping
  6. | Pong
val equal : t -> t -> bool
val text : ?fin:bool -> ?compressed:bool -> string -> t
val binary : ?fin:bool -> ?compressed:bool -> string -> t
val continuation : ?fin:bool -> ?compressed:bool -> string -> t
val connection_close : ?fin:bool -> ?compressed:bool -> string -> t
val ping : t
val pong : t
val pp : Format.formatter -> t -> unit
module Request : sig ... end
module Response : sig ... end
OCaml

Innovation. Community. Security.