Net::WebSocket::PMCE - WebSocket per-message compression extensions
This module itself does nothing useful. It exists as a placeholder for documentation on Net::WebSocket’s implementation of PMCEs (per-message compression extensions), as defined in RFC 7692.
If you’re looking for an implementation of the permessage-deflate extension, look at Net::WebSocket::PMCE::deflate. Note that permessage-deflate is a specific example of a PMCE; as of this writing it’s also the only one that seems to enjoy widespread use.
permessage-deflate
PMCEs implement behavior in both the handshake and in the data exchange portion of a WebSocket session. Like Net::WebSocket itself, then, Net::WebSocket::PMCE modules are sensibly divided into modules that handle handshake logic (e.g., Net::WebSocket::PMCE::deflate::Server) and those that handle data (e.g., Net::WebSocket::PMCE::deflate::Data::Server).
Net::WebSocket’s PMCE support is in ALPHA status. Changes to the API are not unlikely; be sure to check the changelog before updating, and please report any issues you find.
https://github.com/FGasper/p5-Net-WebSocket
Felipe Gasper (FELIPE)
Copyright 2017 by Gasper Software Consulting, LLC
This distribution is released under the same license as Perl.
To install Net::WebSocket, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::WebSocket
CPAN shell
perl -MCPAN -e shell install Net::WebSocket
For more information on module installation, please visit the detailed CPAN module installation guide.