NAME

Protocol::SPDY::Frame::Control::SynStream - stream creation request packet for SPDY protocol

VERSION

version 0.001

SYNOPSIS

DESCRIPTION

new

Instantiate a new SYN_STREAM frame.

  • flags - bitmask of FLAG_FIN and/or FLAG_UNIDIRECTIONAL

  • unidirectional - if present will set/clear FLAG_UNIDIRECTIONAL

  • fin - if present will set/clear FLAG_FIN

  • stream_id - 31-bit stream identifier

  • associated_stream_id - 31-bit stream identifier to link with this one, defaults to 0

  • priority - 2-bit value from 0..3 indicating priority, 3 being top priority

  • nv - name/value pairs as an arrayref

nv_header_block

Returns a name-value pair header block.

as_packet

Returns the packet as a byte string.

COMPONENTS

Further documentation can be found in the following modules:

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

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