package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. faraday : Faraday.t;
  2. mutable read_scheduled : bool;
  3. mutable on_eof : unit -> unit;
  4. mutable eof_has_been_called : bool;
  5. mutable on_read : Bigstringaf.t -> off:int -> len:int -> unit;
  6. when_ready_to_read : Optional_thunk.t;
}
val default_on_eof : unit -> unit
val default_on_read : Bigstringaf.t -> off:int -> len:int -> unit
val create : Faraday.bigstring -> when_ready_to_read:Optional_thunk.t -> t
val create_empty : unit -> t
val is_closed : t -> bool
val unsafe_faraday : t -> Faraday.t
val ready_to_read : t -> unit
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 close : t -> unit
val has_pending_output : t -> bool
val is_read_scheduled : t -> bool
OCaml

Innovation. Community. Security.