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/websocketaf/Websocketaf/Wsd/index.html

Module Websocketaf.WsdSource

Sourcetype mode = [
  1. | `Client of unit -> int32
  2. | `Server
]
Sourcetype t
Sourceval create : mode -> t
Sourceval schedule : t -> kind:[ `Text | `Binary | `Continuation ] -> Bigstringaf.t -> off:int -> len:int -> unit
Sourceval send_bytes : t -> kind:[ `Text | `Binary | `Continuation ] -> Bytes.t -> off:int -> len:int -> unit
Sourceval send_ping : t -> unit
Sourceval send_pong : t -> unit
Sourceval flushed : t -> (unit -> unit) -> unit
Sourceval close : ?code:Websocket.Close_code.t -> t -> unit
Sourceval is_closed : t -> bool
OCaml

Innovation. Community. Security.