ServerTransportStream class abstract

Inheritance

Constructors

ServerTransportStream()

Properties

canPush bool
Whether a method to push will succeed. Requirements for this getter to return true are:
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
The id of this stream.
no setterinherited
incomingMessages Stream<StreamMessage>
A stream of data and/or headers from the remote end.
no setterinherited
onTerminated ← void Function(int?)
Sets the termination handler on this stream.
no getterinherited
outgoingMessages StreamSink<StreamMessage>
A sink for writing data and/or headers to the remote end.
no setterinherited
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
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
Terminates this HTTP/2 stream in an un-normal way.
inherited
toString() String
A string representation of this object.
inherited

Operators

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