Update consumers of WebsocketResources

This commit is contained in:
lilia 2015-07-28 14:58:55 -07:00
parent 1af8bd16b7
commit 1a06cb5cbe
3 changed files with 64 additions and 60 deletions

View file

@ -44,7 +44,8 @@
}
};
this.wsr = new WebSocketResource(this.socket, this.handleRequest.bind(this), {
this.wsr = new WebSocketResource(this.socket, {
handleRequest: this.handleRequest.bind(this),
keepalive: { path: '/v1/keepalive', disconnect: true }
});