Protocol::SPDY::Frame::Data - data frame support
version 1.001
See Protocol::SPDY and Protocol::SPDY::Base.
The stream ID for this data packet.
The bytes comprising this data packet. Note that there are no guarantees on boundaries: UTF-8 decoding for example could fail if this packet is processed in isolation.
Generates an instance from the given data.
Returns the scalar bytes representing this frame.
Returns 'data' - data frames don't have a type field, so we pick a value that isn't going to conflict with any control frame types.
String representation, for debugging.
bool overloading, extract_frame, extract_headers, fin, is_control, is_data, length, new, parse, type, version
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.