gell-ws
v0.4.0
Published
gell based approach to working with websocket back ends
Downloads
7
Readme
gell-ws
gell based support for websockets
Web Socket Server
Concepts
server
- refers to the component responsible for listening on an HTTP port for incoming connections
- implements the websocket protocol
- emits events (as an
EventEmmiter
)connection
events- port related events (
listening
,closed
, etc)
- does not maintain any
connection
state
pool
- set of websocket
connection
s - uniquely identifies
connection
s - handles
connection
related events fromserver
- emits events (as an
EventEmmiter
)connection
open/closed related eventsmessage
related events
- set of websocket
ingress
- handles
connection
related events emitted frompool
- dispatches events....
- mimics systems such as Lambda for triggering business logic from websocket activity
- handles
Brainstorm
- i think this is only for supporting websocket servers
- as opposed to clients
- need simple examples
- support WEBSOCKET realm and session types
- why is this dependent on gell-http?