[DAEMON-54] appcd-core: Implement WebSocket to Dispatcher bridge
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Critical |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2017-03-10T23:29:55.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 | 2017-02-22T18:58:44.000+0000 |
| Updated | 2017-10-26T03:08:23.000+0000 |
Description
The daemon needs a layer between the Dispatcher and WebSocket requests that understand the appcd WebSocket protocol. This "bridge" is responsible for request parsing and error handling.
This bridge must support a ReadableStream Dispatcher response. Each "chunk" of stream is a new response to the WebSocket client. The appcd WebSocket protocol may need to be extended to include a "fin" property, which is not to be confused with the WebSocket "fin" property.
No comments