%OPTS is:
deflate_max_window_bits
server_max_window_bits
inflate_max_window_bits
client_max_window_bits
deflate_no_context_takeover
client_no_context_takeover
server_no_context_takeover
compress()
Creates an unfragmented, compressed message. The message will be an instance of the class that Net::WebSocket::Message::create_from_frames() would instantiate; e.g., if FRAME_CLASS is Net::WebSocket::Frame::text, the message will be of type Net::WebSocket::Message::text.
Net::WebSocket::Message::create_from_frames()
Net::WebSocket::Frame::text
Net::WebSocket::Message::text
This method cannot be called while a streamer object has yet to create its final frame.
NOTE: This function alters PAYLOAD.
Returns an instance of Net::WebSocket::PMCE::deflate::Data::Streamer based on this object.
Decompresses the given string and returns the result.
NOTE: This function alters COMPRESSED_PAYLOAD, such that it’s probably not useful afterward.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'endpoint’s'. Assuming UTF-8
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.