WebSockets 0.0.2
A 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.

Note that WebSockets requires the latest, and as yet unreleased, Fantom v1.0.68 to run. To use WebSockets, the core inet, web and wisp pods should be built from source with a manually set version of 1.0.68 or greater.

Read more...

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.

afWebSockets.pod (70.95 kB)

Use

To use WebSockets in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afWebSockets 0.0.2 - 0.0"]

Documentation

Information

Meta information on the WebSockets pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
70.95 kB
Licence
ISC Licence (ISC)
Built on
18th Aug 2015
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afwebsockets
Depends on
afConcurrent, concurrent, inet, sys, web
Referenced by
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 4 releases of WebSockets: