package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Httpaf = Dream_httpaf_.Httpaf
module IOVec = Httpaf.IOVec
type t = {
  1. faraday : Faraday.t;
  2. mutable read_scheduled : bool;
  3. mutable on_eof : unit -> unit;
  4. mutable on_read : Bigstringaf.t -> off:int -> len:int -> unit;
}
val default_on_eof : unit -> unit
val default_on_read : Bigstringaf.t -> off:int -> len:int -> unit
val of_faraday : Faraday.t -> t
val create : Faraday.bigstring -> t
val create_empty : unit -> t
val empty : t
val is_closed : t -> bool
val unsafe_faraday : t -> Faraday.t
val do_execute_read : t -> (unit -> unit) -> (Faraday.bigstring -> off:int -> len:int -> unit) -> unit
val execute_read : t -> unit
val schedule_read : t -> on_eof:(unit -> unit) -> on_read:(Faraday.bigstring -> off:int -> len:int -> unit) -> unit
val is_read_scheduled : t -> bool
val close : t -> unit
OCaml

Innovation. Community. Security.