Represents a HTTP/2 stream.
- Implemented by
Properties
- id → int
-
read-only
The id of this stream.…
- incomingMessages → Stream<StreamMessage>
-
read-only
A stream of data and/or headers from the remote end.
- outgoingMessages → StreamSink<StreamMessage>
-
read-only
A sink for writing data and/or headers to the remote end.
Constructors
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.…