Update consumers of WebsocketResources
This commit is contained in:
parent
1af8bd16b7
commit
1a06cb5cbe
3 changed files with 64 additions and 60 deletions
|
@ -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 }
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue