[DAEMON-31] Allow for multiple requests over the same WebSocket connection
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2017-02-28T00:15:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.0.0 |
Components | appcd-core |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2016-10-25T21:48:41.000+0000 |
Updated | 2017-04-10T18:55:53.000+0000 |
Description
Currently the Appc Daemon only allows a single request over a single WebSocket connection. This encourages clients to establish multiple simultaneous connections. This is technically unnecessary.
The Appc Daemon should not close the socket when a request ends, but rather send a "request closed" message and let the client determine if it should close the connection.
Be sure to update the wiki page under the "Node.js Client" section: https://wiki.appcelerator.org/display/Daemon/Appcd+Client.
No comments