The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::WebSocket::PMCE::Data - Base class for PMCE data modules.

DESCRIPTION

METHODS

Available on all instances:

OBJ->message_is_compressed( MESSAGE )

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 );

INITIAL_FRAME_RSV()

Returns the numeric value of the RSV bits for PMCEs, suitable for giving to a Net::WebSocket::Frame subclass’s constructor.