NAME

Protocol::SPDY::Frame::Control - control frame subclass for the SPDY protocol

VERSION

version 1.001

DESCRIPTION

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.

TYPES

The following control frame types are known:

METHODS

is_control

This is a control frame, so it will return true.

is_data

This is not a data frame, so it returns false.

version

The version for this frame - probably 3.

type

The numerical type for this frame.

uni

Unidirectional flag (if set, we expect no response from the other side).

compress

The compression flag. Used on some frames.

as_packet

Returns the byte representation for this frame.

pairs_to_nv_header

Returns a name-value pair header block.

find_class_for_type

Returns the class appropriate for the given type (can be numerical or string representation).

from_data

Instantiates a frame from the given bytes.

to_string

String representation for debugging.

COMPONENTS

Further documentation can be found in the following modules:

INHERITED METHODS

Protocol::SPDY::Frame

bool overloading, extract_frame, extract_headers, fin, length, new, parse, type_string

AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

LICENSE

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