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-gluten-lwt/Dream_gluten_lwt/Gluten_lwt/Server/argument-1-Io/index.html

Parameter Server.Io

type socket
type addr
val read : socket -> Bigstringaf.t -> off:int -> len:int -> int Lwt.t

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

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

Innovation. Community. Security.