package dream

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

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha1.tar.gz
sha256=c8d988568fbbeffb151abdb4d6b903fbd3897842d3eb9b2c28fb350f0f02bbd4
md5=b8ad7f3e30f3e88e5451d92e42b49ce4

doc/gluten/Gluten/Server/index.html

Module Gluten.ServerSource

include RUNTIME
Sourcetype t
Sourceval next_read_operation : t -> [ `Read | `Yield | `Close ]
Sourceval read : t -> Bigstringaf.t -> off:int -> len:int -> int
Sourceval read_eof : t -> Bigstringaf.t -> off:int -> len:int -> int
Sourceval yield_reader : t -> (unit -> unit) -> unit
Sourceval next_write_operation : t -> [ `Write of Bigstringaf.t Faraday.iovec list | `Yield | `Close of int ]
Sourceval report_write_result : t -> [ `Ok of int | `Closed ] -> unit
Sourceval yield_writer : t -> (unit -> unit) -> unit
Sourceval report_exn : t -> exn -> unit
Sourceval is_closed : t -> bool
Sourceval shutdown : t -> unit
Sourceval create : protocol:'t runtime -> 't -> t
Sourceval upgrade_protocol : t -> impl -> unit
Sourcetype 'reqd request_handler = 'reqd Reqd.t -> unit
Sourceval create_upgradable : protocol:'t runtime -> create:(('reqd -> unit) -> 't) -> 'reqd request_handler -> t
OCaml

Innovation. Community. Security.