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-websocketaf/Dream_websocketaf/Client_handshake/index.html

Module Dream_websocketaf.Client_handshakeSource

Sourcemodule IOVec = Httpaf.IOVec
Sourceval create : nonce:string -> headers:Dream_websocketaf.Handshake.Headers.t -> error_handler:Httpaf.Client_connection.error_handler -> response_handler:Httpaf.Client_connection.response_handler -> string -> t
Sourceval next_read_operation : t -> [ `Close | `Read | `Yield ]
Sourceval next_write_operation : t -> [ `Close of int | `Write of Bigstringaf.t Faraday.iovec list | `Yield ]
Sourceval read : t -> Bigstringaf.t -> off:int -> len:int -> int
Sourceval yield_reader : t -> (unit -> unit) -> unit
Sourceval report_write_result : t -> [ `Closed | `Ok of int ] -> unit
Sourceval yield_writer : t -> (unit -> unit) -> unit
Sourceval report_exn : t -> exn -> unit
Sourceval is_closed : t -> bool
Sourceval close : t -> unit
OCaml

Innovation. Community. Security.