ocaml-websocket

by vbmithr

Websocket library for OCaml

132 Stars 36 Forks Last release: 8 months ago (2.14) ISC License 304 Commits 29 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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 s and long polling).

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.