Protocol::WebSocket::Fast::MessageIterator - WebSocket message iterator class
The class allows developer traverse on parsed websocket messages.
You cannot instantiate an object of the class direcly, it can be accessed only via Protocol::WebSocket::Fast::Parser or Protocol::WebSocket::Fast::FrameIterator.
Returns next unvisited Protocol::WebSocket::Fast::Message parsed from receive buffer; otherwise (i.e. when end of buffer is reached) it returns undef.
undef
Returns Protocol::WebSocket::Fast::FrameIterator, if there is any unread frames left. Otherwise it returns undef.
See Protocol::WebSocket::Fast::Parser for more details on switching between frame and message modes.
Protocol::WebSocket::Fast
Protocol::WebSocket::Fast::FrameIterator
Protocol::WebSocket::Fast::Message
Protocol::WebSocket::Fast::Parser
rfc6455
To install Protocol::WebSocket::Fast, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::WebSocket::Fast
CPAN shell
perl -MCPAN -e shell install Protocol::WebSocket::Fast
For more information on module installation, please visit the detailed CPAN module installation guide.