++ed by:
SKOLYCHEV TEAM

2 PAUSE users
1 non-PAUSE user.

Author image Felipe Gasper
and 1 contributors

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.