1.1.0 • Published 6 years ago

saphir-webchaussette-server v1.1.0

Weekly downloads
14
License
ISC
Repository
-
Last release
6 years ago

Saphir WebChaussette Server

WebSockets abstraction to be used with Saphir php framework on server side.

Installation

Download and install npm at www.npmjs.com/get-npm if you haven't already.

npm install saphir-webchaussette-server

This package is provided in CommonJS module format.

Usage

To use it, simply do :

var WebChaussetteServer = require('saphir-webchaussette-server');

var chaussette = new WebChaussetteServer();
chaussette.start(8080, 'secret_token');

You can define options for the redis server :

var WebChaussetteServer = require('saphir-webchaussette-server');

var chaussette = new WebChaussetteServer();
chaussette.start(8080, 'secret_token',
{
	redisHost: '127.0.0.1',
	redisPort: 6379,
	redisDatabase: 0
});

License

ISC

1.1.0

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago