package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha5.tar.gz
sha256=05bc7f6aff94893c151f3a5bcdee3328920c69b3763fac49ba27348dc7745901
md5=de6f6908ae899c9e85f2c751a0263932

doc/dream-httpaf.dream-websocketaf/Dream_websocketaf/Payload/index.html

Module Dream_websocketaf.PayloadSource

Sourcemodule IOVec = Httpaf.IOVec
Sourcetype 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;
}
Sourceval default_on_eof : unit -> unit
Sourceval default_on_read : Bigstringaf.t -> off:int -> len:int -> unit
Sourceval of_faraday : Faraday.t -> t
Sourceval create : Faraday.bigstring -> t
Sourceval create_empty : unit -> t
Sourceval empty : t
Sourceval is_closed : t -> bool
Sourceval unsafe_faraday : t -> Faraday.t
Sourceval do_execute_read : t -> (unit -> unit) -> (Faraday.bigstring -> off:int -> len:int -> unit) -> unit
Sourceval execute_read : t -> unit
Sourceval schedule_read : t -> on_eof:(unit -> unit) -> on_read:(Faraday.bigstring -> off:int -> len:int -> unit) -> unit
Sourceval is_read_scheduled : t -> bool
Sourceval close : t -> unit
OCaml

Innovation. Community. Security.