package piaf

  1. Overview
  2. Docs
An HTTP library with HTTP/2 support written entirely in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

piaf-0.2.0.tbz
sha256=07fa9009a52faeaae6d86116e75007f5279b185c7bc7c95aab9455f2107370fb
sha512=dfde4bd0a5c8a3b795a8e3d6f6e1f9f1864a9eb0a1b96763c17515d771566af7623ca64db671a8dce2c7838dad08d8465db98f5e4f8dcf5e1a386ef5b29da56c

doc/piaf.stream/Piaf_stream/index.html

Module Piaf_streamSource

Sourcetype _ t
Sourceval empty : unit -> _ t
Sourceval from : f:(unit -> 'a option) -> 'a t
Sourceval create : int -> 'a t * ('a option -> unit)
Sourceval close : _ t -> unit
Sourceval closed : _ t -> unit Eio.Promise.t
Sourceval when_closed : f:(unit -> unit) -> _ t -> unit
Sourceval is_closed : _ t -> bool
Sourceval take : 'a t -> 'a option
Sourceval of_list : 'a list -> 'a t
Sourceval to_list : 'a t -> 'a list
Sourceval map : f:('a -> 'b) -> 'a t -> 'b t
Sourceval iter : f:('a -> unit) -> 'a t -> unit
Sourceval iter_p : sw:Eio.Switch.t -> f:('a -> unit) -> 'a t -> unit
Sourceval fold : f:('acc -> 'a -> 'acc) -> init:'acc -> 'a t -> 'acc
Sourceval drain : _ t -> unit
Sourceval drain_available : _ t -> unit
OCaml

Innovation. Community. Security.