Skip to content
🌟 REVIEW WS: WebSocket Sample Application
HTML Erlang CSS
Branch: master
Clone or download
Latest commit b47415b Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
man
priv wip Aug 5, 2019
src wip Jul 17, 2019
.gitignore nitro Nov 19, 2018
.travis.yml travis Nov 13, 2018
CNAME CNAME Nov 13, 2018
README.md finally remove code from README Jun 26, 2019
index.htm fix port for github deploy May 17, 2019
index.html index Aug 19, 2019
login.htm official assets Apr 10, 2019
rebar.config wip Jul 17, 2019
sys.config SAMPLE 6.6: Jun 25, 2019
vm.args wip Jul 17, 2019

README.md

SAMPLE: WebSocket Application

Build Status

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.space/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:

$ mad get sample
$ cd deps/sample
$ mad dep com pla rep

Then open it in browser:

$ open priv/ssl/fullchain.pem # setup trust for our localhost certificate
$ open https://localhost:8001/app/index.htm

Credits

  • Brought with ❀ by N2O community
You can’t perform that action at this time.