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-gluten-lwt-unix/Dream_gluten_lwt_unix/Tls_io/Io/index.html

Module Tls_io.IoSource

Sourcetype socket = descriptor
Sourcetype addr = Unix.sockaddr
Sourceval read : socket -> Bigstringaf.t -> off:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t

The region (off, off + len) is where read bytes can be written to

Sourceval writev : socket -> Faraday.bigstring Faraday.iovec list -> [ `Closed | `Ok of int ] Lwt.t
Sourceval shutdown_receive : socket -> unit
Sourceval close : socket -> unit Lwt.t
OCaml

Innovation. Community. Security.