package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type mode = [
  1. | `Client of unit -> int32
  2. | `Server
]
type t
val schedule : t -> kind:[ `Text | `Binary | `Continuation ] -> Bigstringaf.t -> off:int -> len:int -> unit
val send_bytes : t -> kind:[ `Text | `Binary | `Continuation ] -> Bytes.t -> off:int -> len:int -> unit
val send_ping : t -> unit
val send_pong : t -> unit
val flushed : t -> (unit -> unit) -> unit
val close : ?code:Websocket.Close_code.t -> t -> unit
val is_closed : t -> bool
val error_code : t -> [> `Exn of exn ] option
OCaml

Innovation. Community. Security.