Skip to content

vbmithr/ocaml-websocket

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a481155 · Jul 15, 2022
Apr 20, 2022
Mar 16, 2022
Jul 15, 2022
Mar 15, 2022
Oct 4, 2018
Mar 15, 2022
Sep 18, 2016
Mar 5, 2020
Mar 16, 2022
Sep 18, 2016
Apr 24, 2017
Mar 5, 2020
Oct 4, 2018
Aug 16, 2016
Mar 16, 2022
Apr 20, 2022
Mar 11, 2022
Mar 16, 2022

Repository files navigation

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 <iframe>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.