package async_websocket

  1. Overview
  2. Docs
type t = {
  1. opcode : Opcode.t;
  2. final : bool;
  3. content : string;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
module Error : sig ... end
val write_frame : masked:bool -> Async.Writer.t -> t -> unit
val create : opcode:Opcode.t -> ?final:bool -> string -> t
val create_close : code:int -> ?final:bool -> string -> t