transport library

Classes

ClientSettings
Settings for a TransportConnection a client can make.
ClientTransportConnection
ClientTransportStream
DataStreamMessage
Represents a data message which can be sent over a HTTP/2 stream.
ErrorCode
A HTTP/2 header.
HeadersStreamMessage
Represents a headers message which can be sent over a HTTP/2 stream.
ServerSettings
Settings for a TransportConnection a server can make.
ServerTransportConnection
ServerTransportStream
Settings
Settings for a TransportConnection.
StreamMessage
Represents a message which can be sent over a HTTP/2 stream.
TransportConnection
Represents a HTTP/2 connection.
TransportStream
Represents a HTTP/2 stream.
TransportStreamPush
Represents a remote stream push.

Constants

defaultInboundHeaderBlockTimeout → const Duration
Default absolute time allowed to finish an inbound HTTP/2 field block.
defaultMaxConcurrentStreams → const int
Default maximum number of peer-initiated streams per connection.
defaultMaxContinuationFramesPerBlock → const int
Default maximum number of CONTINUATION frames in one field block.
defaultMaxInboundHeaderBlockSize → const int
Default maximum compressed size of one inbound HTTP/2 field block.
defaultMaxInboundHeaderListSize → const int
Default maximum decoded size of one inbound HTTP/2 field section.
defaultMaxPeerStreamLimitViolations → const int
Default number of consecutive peer stream-limit violations before GOAWAY.

Typedefs

ActiveStateHandler = void Function(bool isActive)

Exceptions / Errors

StreamTransportException
An exception thrown when a HTTP/2 stream error occured.
TransportConnectionException
An exception thrown when a HTTP/2 connection error occurred.
TransportException
An exception thrown by the HTTP/2 implementation.