TransportStream class abstract
Represents a HTTP/2 stream.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The id of this stream.
no setter
-
incomingMessages
→ Stream<
StreamMessage> -
A stream of data and/or headers from the remote end.
no setter
- onTerminated ← void Function(int?)
-
Sets the termination handler on this stream.
no getter
-
outgoingMessages
→ StreamSink<
StreamMessage> -
A sink for writing data and/or headers to the remote end.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendData(
List< int> bytes, {bool endStream = false}) → void -
sendHeaders(
List< Header> headers, {bool endStream = false}) → void -
terminate(
) → void - Terminates this HTTP/2 stream in an un-normal way.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited