package dream-httpaf
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/Websocketaf/Client_connection/index.html
Module Websocketaf.Client_connection
Source
Source
type error = [
| Httpaf.Client_connection.error
| `Handshake_failure of Httpaf.Response.t * Httpaf.Body.Reader.t
]
Source
val connect :
nonce:string ->
?headers:Httpaf.Headers.t ->
sha1:(string -> string) ->
error_handler:(error -> unit) ->
websocket_handler:(Wsd.t -> Websocket_connection.input_handlers) ->
string ->
t
Source
val create :
?error_handler:(Wsd.t -> [ `Exn of exn ] -> unit) ->
(Wsd.t -> Websocket_connection.input_handlers) ->
t
Source
val next_write_operation :
t ->
[ `Write of Bigstringaf.t IOVec.t list | `Yield | `Close of int ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>