package websocket
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7ba435572227093515e60fa58c395735750d16d0ca866a7dbc0986d2f67f55bc
sha512=b7d939035d86300fba6dee1d7b59f85f0255827fd8aef2cdabfe9f9185cf84020ba07c7835d4c54ced9b21a2b974cc626aed921f11de5ed81c40d1cfa0f4fd48
Description
The WebSocket Protocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code.
The security model used for this is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake followed by basic message framing, layered over TCP.
The goal of this technology is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections (e.g., using XMLHttpRequest or s and long polling).
README
ocaml-websocket — Websocket library for OCaml
The WebSocket Protocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code.
The security model used for this is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake followed by basic message framing, layered over TCP.
The goal of this technology is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections (e.g., using XMLHttpRequest or
Installation
ocaml-websocket can be installed with opam
:
opam install websocket
If you don't use opam
please consult the websocket.opam
, websocket-lwt.opam
and websocket-async.opam
files for build instructions.
Dependencies (7)
Dev Dependencies (1)
-
odoc
with-doc
Used by (8)
- gremlin
-
iocaml
< "0.4.6"
-
links
>= "0.9"
-
ojs-base
!= "0.2.0"
- ojs_base
-
stog_server
< "1.0.0"
-
websocket-async
= "2.15"
-
websocket-lwt-unix
= "2.15"
Conflicts
None