An open API service indexing awesome lists of open source software.

https://github.com/synrc/sample

💧 SAMPLE: WebSocket Sample Application
https://github.com/synrc/sample

Last synced: 10 months ago
JSON representation

💧 SAMPLE: WebSocket Sample Application

Awesome Lists containing this project

README

          

SAMPLE: WebSocket Application
=============================

[![Build Status](https://travis-ci.com/synrc/sample.svg?branch=master)](https://travis-ci.com/synrc/sample)

NITRO/N2O pages that work on top of raw COWBOY/RANCH connections.

Intro
-----

SAMPLE application consist of two page modules `login` and `index`.
It creates WebSocket connection to `n2o` server.
The permanent example is accesible at https://sample.n2o.dev/index.htm.

Index
-----

Init event.
Chat event.
Client event.
File Transfer event.

Login
-----

Channel init.
Login event.

Setup
-----

To run review application just clone, build and run:

```
$ rebar3 get-deps
$ rebar3 shell
```

Then open it in browser:

```
$ open http://localhost:8001/app/login.htm
```

Credits
-------
* Brought with ❤ by N2O community