TransportStream class
Represents a HTTP/2 stream.
- Implemented by
Constructors
Properties
- id → int
-
The id of this stream. [...]
read-only
-
incomingMessages
→ Stream<
StreamMessage> -
A stream of data and/or headers from the remote end.
read-only
- onTerminated ← void Function(int)
-
Sets the termination handler on this stream. [...]
write-only
-
outgoingMessages
→ StreamSink<
StreamMessage> -
A sink for writing data and/or headers to the remote end.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
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. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited