package cohttp_async_websocket
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Websocket library for use with cohttp and async
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=4cfb43afd17e67a10c901bc6f63a1fec1b12a210ca3240ddcd0ec3cc8026e030
doc/CHANGES.html
Release v0.16.0
Update function signatures:
Server.createuses(Websocket.t -> unit Deferred.t)instead of(string Pipe.Reader.t -> string Pipe.Writer.t -> unit Deferred.t)Client.createandClient.with_websocket_clientuseWebsocket.tinstead ofstring Pipe.Reader.tandstring Pipe.Writer.t
Add new parameters to
Cohttp_async_websocket.Clientfunctions:bind_to_addressinClient.createallows binding to a specific address when creating a WebSocket clientopcodeinClient.createandClient.with_websocket_clientenables specifying the desired WebSocket frame opcode (TextorBinary)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>