WebSockets 0.2.0A pure Fantom implementation of the W3C WebSocket API for use by clients and servers
WebSockets is a Fantom implementation of the W3C WebSocket API and adheres to RFC 6455.
The same WebSocket
class may be used as a Fantom desktop client, a Javascript web client, or from a web server.
WebSockets does not currently support frame fragmentation or continuations.
Install
To install WebSockets with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install WebSockets with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use WebSockets in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afWebSockets 0.2.0 - 0.2"]
Documentation
Information
Meta information on the WebSockets pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 72.51 kB
- Licence
- ISC
- Built on
- 28th May 2018
- Source code
- via Git at https://github.com/SlimerDude/afWebSockets
- Depends on
- afConcurrent, concurrent, inet, sys, web
- Referenced by
- Javascript Compatible
Dependency Graph
Release History
There have been 4 releases of WebSockets: