package dream-httpaf

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Body.WriterSource

Sourcemodule Writer = Serialize.Writer
Sourcetype t = {
  1. faraday : Faraday.t;
  2. buffered_bytes : int ref;
  3. writer : Serialize.Writer.t;
}
Sourceval create : Faraday.bigstring -> writer:Serialize.Writer.t -> t
Sourceval create_empty : writer:Serialize.Writer.t -> t
Sourceval ready_to_write : t -> unit
Sourceval write_char : t -> char -> unit
Sourceval write_string : t -> ?off:int -> ?len:int -> string -> unit
Sourceval write_bigstring : t -> ?off:int -> ?len:int -> Faraday.bigstring -> unit
Sourceval schedule_bigstring : t -> ?off:int -> ?len:int -> Bigstringaf.t -> unit
Sourceval flush : t -> (unit -> unit) -> unit
Sourceval is_closed : t -> bool
Sourceval has_pending_output : t -> bool
Sourceval close : t -> unit
Sourceval unsafe_faraday : t -> Faraday.t
Sourceval transfer_to_writer : t -> Writer.t -> max_frame_size:int -> max_bytes:int -> Stream_identifier.t -> int
OCaml

Innovation. Community. Security.