package trail

  1. Overview
  2. Docs

Module Trail.FrameSource

Sourcetype 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
Sourceval equal : t -> t -> bool
Sourceval text : ?fin:bool -> ?compressed:bool -> string -> t
Sourceval binary : ?fin:bool -> ?compressed:bool -> string -> t
Sourceval continuation : ?fin:bool -> ?compressed:bool -> string -> t
Sourceval connection_close : ?fin:bool -> ?compressed:bool -> string -> t
Sourceval ping : t
Sourceval pong : t
Sourceval pp : Format.formatter -> t -> unit
Sourcemodule Request : sig ... end
Sourcemodule Response : sig ... end