TransportConnection class abstract

Represents a HTTP/2 connection.

Implementers

Constructors

TransportConnection()

Properties

hashCode → int
The hash code for this object.
no setterinherited
onActiveStateChanged ← ActiveStateHandler
Sets the active state callback.
no getter
onFrameReceived → Stream<void>
Stream which emits an event every time a ping is received on this connection.
no setter
onInitialPeerSettingsReceived → Future<void>
Future which completes when the first SETTINGS frame is received from the peer.
no setter
onPingReceived → Stream<int>
Stream which emits an event with the ping id every time a ping is received on this connection.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

finish() → Future
Finish this connection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ping() → Future
Pings the other end.
terminate([int? errorCode, String? message]) → Future
Terminates this connection forcefully.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited