NAME

Protocol::SPDY::Test - helper functions for testing things

VERSION

version 1.001

SYNOPSIS

use Protocol::SPDY::Test qw(:all);

DESCRIPTION

Provides a few functions that may help when trying to debug implementations. Not intended for use in production code.

control_frame_ok

Tests whether the given frame is valid.

Takes the following parameters:

  • $frame - the Protocol::SPDY::Frame object to test

  • $spec - the spec to test against, default empty

  • $msg - message to display in test notes

AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

LICENSE

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