Protocol::SPDY::Frame::Control - control frame subclass for the SPDY protocol
version 1.001
Support for control frames. Typically you'd interact with these through the top-level Protocol::SPDY object.
Subclass of Protocol::SPDY::Frame. See also Protocol::SPDY::Frame::Data.
The following control frame types are known:
SYN_STREAM
RST_STREAM
SYN_REPLY
HEADERS
CREDENTIAL
GOAWAY
PING
SETTINGS
This is a control frame, so it will return true.
This is not a data frame, so it returns false.
The version for this frame - probably 3.
The numerical type for this frame.
Unidirectional flag (if set, we expect no response from the other side).
The compression flag. Used on some frames.
Returns the byte representation for this frame.
Returns a name-value pair header block.
Returns the class appropriate for the given type (can be numerical or string representation).
Instantiates a frame from the given bytes.
String representation for debugging.
Further documentation can be found in the following modules:
Protocol::SPDY - top-level protocol object
Protocol::SPDY::Frame - generic frame class
Protocol::SPDY::Frame::Control - specific subclass for control frames
Protocol::SPDY::Frame::Data - specific subclass for data frames
bool overloading, extract_frame, extract_headers, fin, length, new, parse, type_string
Tom Molesworth <cpan@perlsite.co.uk>
Copyright Tom Molesworth 2011-2015. Licensed under the same terms as Perl itself.
To install Protocol::SPDY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::SPDY
CPAN shell
perl -MCPAN -e shell install Protocol::SPDY
For more information on module installation, please visit the detailed CPAN module installation guide.