0.4.0 • Published 11 months ago

gell-ws v0.4.0

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

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 connections
    • uniquely identifies connections
    • handles connection related events from server
    • emits events (as an EventEmmiter)
      • connection open/closed related events
      • message related events
  • ingress
    • handles connection related events emitted from pool
    • dispatches events....
    • mimics systems such as Lambda for triggering business logic from websocket activity

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?
0.4.0

11 months ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

3 years ago

0.0.1

3 years ago