package dream

  1. Overview
  2. Docs
Tidy, feature-complete Web framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha2.tar.gz
sha256=bf19c13f0da7e01cc30b8dfaa1fca1dc8b44a06fb6e0eef56d56513952b9bb01
md5=1220f17530522e488653eb91115867e3

doc/dream.gluten-lwt/Gluten_lwt/module-type-IO/index.html

Module type Gluten_lwt.IOSource

type socket
type addr
val 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

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.