The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Protocol::SPDY::Constants - constant definitions for the SPDY protocol

VERSION

version 1.001

SYNOPSIS

 use Protocol::SPDY::Constants ':all';

DESCRIPTION

Provides some constants.

CONSTANTS

FLAG_FIN

Value for the FIN flag in control/data frames.

FLAG_COMPRESS

Compression flag - currently unused

FLAG_UNI

Unidirectional flag - used to mark a stream as not requiring a reply.

HEADER_LENGTH

Number of bytes required in order to work out how big a frame will be.

ZLIB_DICTIONARY

Initial compression dictionary for the zlib compression protocol used for name/value pair data.

MAX_SUPPORTED_VERSION

Highest version we know about.

RST_STREAM CODES

The following codes can be returned as values in a RST_STREAM frame. See the status_code and status_code_as_text methods.

PROTOCOL_ERROR

There was a protocol violation in something we've sent to the other side.

INVALID_STREAM

The requested stream is not valid (for example, when we receive a reply to a stream that we did not initiate).

REFUSED_STREAM

We do not want this stream.

UNSUPPORTED_VERSION

The protocol version requested is not supported by this library.

CANCEL

Used by the initiator to stop an active stream before normal completion.

INTERNAL_ERROR

Generic error when internal state is invalid.

FLOW_CONTROL_ERROR

We violated the expected window update behaviour.

SEE ALSO

INHERITED METHODS

Exporter

as_heavy, export, export_fail, export_ok_tags, export_tags, export_to_level, import, require_version

AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

LICENSE

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