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-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90

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.