package websocket

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Opcode : sig ... end

Type representing websocket opcodes

type t = {
  1. opcode : Opcode.t;
  2. extension : int;
  3. final : bool;
  4. content : string;
}

The type representing websocket frames

val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val create : ?opcode:Opcode.t -> ?extension:int -> ?final:bool -> ?content:string -> unit -> t
val close : int -> t
OCaml

Innovation. Community. Security.