Method Protocols.WebSocket.permessagedeflate()
- Method permessagedeflate
object
permessagedeflate(void
|mapping
default_options
)- Description
Returns an extension factory which implements the
permessage-deflate
WebSocket extension. It uses the default options from deflate_default_options. Due to how thepermessage-deflate
extension works, defragmented frames will be recombined automatically.- Note
If the
permessage-deflate
extension is not being used, it falls back to use defragment.