Protocol::SPDY::Frame::HeaderSupport - helper methods for frames which contain header data
version 1.000
The SYN_STREAM, SYN_REPLY and HEADERS frame types all use the same method for specifying HTTP-style headers. This class provides common methods for interacting with that header data.
Mainly for internal use - see Protocol::SPDY and Protocol::SPDY::Base instead.
Returns undef if the given header is not found, otherwise returns a scalar holding the \0-separated values found for this header.
Returns the arrayref structure of headers.
[ [ header1 => value1, value2 ], [ header2 => value... ] ]
Returns the list of header names (in the order in which we received them).
Returns a string describing the current header values, for debugging.
Returns a hashref representation of the headers. Values are all arrayrefs.
Returns a hashref representation of the headers where values are comma-separated strings.
Converts a hashref of key=>value information into an arrayref structure.
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2011-2013. Licensed under the same terms as Perl itself.
To install Protocol::SPDY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::SPDY
CPAN shell
perl -MCPAN -e shell install Protocol::SPDY
For more information on module installation, please visit the detailed CPAN module installation guide.