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

NAME

Protocol::SPDY::Frame::Data - data frame support

VERSION

version 1.001

DESCRIPTION

See Protocol::SPDY and Protocol::SPDY::Base.

METHODS

stream_id

The stream ID for this data packet.

payload

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.

from_data

Generates an instance from the given data.

as_packet

Returns the scalar bytes representing this frame.

type_string

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.

type_name

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.

to_string

String representation, for debugging.

INHERITED METHODS

Protocol::SPDY::Frame

bool overloading, extract_frame, extract_headers, fin, is_control, is_data, length, new, parse, type, version

AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

LICENSE

Copyright Tom Molesworth 2011-2015. Licensed under the same terms as Perl itself.