a88ab41f3e
A minimal framework that supports the implementation of WebSocket extensions in a way that's decoupled from the main protocol. This library aims to allow a WebSocket extension to be written and used with any protocol library, by defining abstract representations of frames and messages that allow modules to co-operate. websocket-extensions provides a container for registering extension plugins, and provides all the functions required to negotiate which extensions to use during a session via the Sec-WebSocket-Extensions header.
10 lines
533 B
Text
10 lines
533 B
Text
A minimal framework that supports the implementation of WebSocket
|
|
extensions in a way that's decoupled from the main protocol.
|
|
This library aims to allow a WebSocket extension to be written and
|
|
used with any protocol library, by defining abstract representations
|
|
of frames and messages that allow modules to co-operate.
|
|
|
|
websocket-extensions provides a container for registering extension
|
|
plugins, and provides all the functions required to negotiate which
|
|
extensions to use during a session via the Sec-WebSocket-Extensions
|
|
header.
|