1.1.0-0 • Published 9 years ago

weso v1.1.0-0

Weekly downloads
5
License
ISC
Repository
github
Last release
9 years ago

Not my work. Put here with the permission of the creator See here for the original work

weso

Universal websocket handler for both client and servers in JS

for more details on the protocol,

`npm install weso`

Usage example :

checkout my server for node and client for the browser

the default protocol :

the separator is a colon (':')

the websocket message MUST start with a key that doesn't contains the separator

It is recommanded to use camelCase and only alphanumeric characters so the shorthands are handy to use later on in JS, but you are free to do what ever you want.

The part after the separator is then parsed in JSON

That's pretty much it.

1.1.0-0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.1-0

9 years ago

1.0.0

9 years ago