Not documented.
- Inheritance
- Object
- TransportStream
- ServerTransportStream
Properties
- canPush → bool
-
read-only
Whether a method to
push
will succeed. Requirements for this getter to returntrue
are: this stream must be in the Open or HalfClosedRemote state the client needs to have the "enable push" settings enabled the number of active streams has not reached the maximum - id → int
-
read-only, inherited
The id of this stream.
- incomingMessages → Stream<StreamMessage>
-
read-only, inherited
A stream of data and/or headers from the remote end.
- outgoingMessages → StreamSink<StreamMessage>
-
read-only, inherited
A sink for writing data and/or headers to the remote end.
Constructors
Methods
-
push(
List<Header> requestHeaders) → ServerTransportStream -
Pushes a new stream to the remote peer.
-
sendData(
List<int> bytes, {bool endStream: false}) → void -
inherited
-
sendHeaders(
List<Header> headers, {bool endStream: false}) → void -
inherited
-
terminate(
) → void -
inherited
Terminates this HTTP/2 stream in an un-normal way.