Net::WebSocket::PMCE::Data - Base class for PMCE data modules.
Available on all instances:
MESSAGE is an instance of Net::WebSocket::Message. The output is a Perl boolean that indicates whether the message appears to be PMCE-compressed.
You can also call this as a class method, e.g.:
Net::WebSocket::PMCE->message_is_compressed( $message_obj );
Returns the numeric value of the RSV bits for PMCEs, suitable for giving to a Net::WebSocket::Frame subclass’s constructor.
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.