
Protocol::SPDY::Frame - support for SPDY frames

version 0.001

Support for SPDY frames. Typically you'd interact with these through the top-level Protocol::SPDY object.
See the Protocol::SPDY::Frame::Control and Protocol::SPDY::Frame::Data subclasses for the two currently-defined frame types.

Returns true if this is a control frame. Recommended over checking ->isa(Protocol::SPDY::Frame::Control) directly.
Returns true if this is a data frame. Recommended over checking ->isa(Protocol::SPDY::Frame::Data) directly.
Instantiate a new frame. Typically called as a super method from the Protocol::SPDY::Frame::Control or Protocol::SPDY::Frame::Data subclass implementation.
Updates the length field in the packet.
Returns the current packet as a byte string.
Returns the length of the current packet in bytes.
Returns the type of this frame, such as SYN_STREAM, RST_STREAM etc.

Further documentation can be found in the following modules:

Tom Molesworth <cpan@entitymodel.com>

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