Based on my current understanding of the WebSocket protocol, there should be a provision for the user to install their own custom extensions.
An example is WebSocket compression. Though permessage-deflate could be installed as the default compression extension, a user might want to use a custom compression extension. The user would need to provide a negotiation logic along with the implementation of the extension.
Based on my current understanding of the WebSocket protocol, there should be a provision for the user to install their own custom extensions.
An example is WebSocket compression. Though
permessage-deflate
could be installed as the default compression extension, a user might want to use a custom compression extension. The user would need to provide a negotiation logic along with the implementation of the extension.This is purely based on my current understanding.