https://github.com/vbmithr/ocaml-websocket
Websocket library for OCaml
https://github.com/vbmithr/ocaml-websocket
Last synced: 9 months ago
JSON representation
Websocket library for OCaml
- Host: GitHub
- URL: https://github.com/vbmithr/ocaml-websocket
- Owner: vbmithr
- License: isc
- Created: 2012-12-04T18:55:31.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T19:47:15.000Z (over 1 year ago)
- Last Synced: 2024-10-13T21:28:49.353Z (about 1 year ago)
- Language: OCaml
- Homepage:
- Size: 1.16 MB
- Stars: 162
- Watchers: 9
- Forks: 44
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE.md
Awesome Lists containing this project
- awesome-list - ocaml-websocket
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 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.