ServerTransportStream class

Inheritance

Constructors

ServerTransportStream()

Properties

canPush bool
Whether a method to push will succeed. Requirements for this getter to return true are: [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The id of this stream. [...]
read-only, inherited
incomingMessages Stream<StreamMessage>
A stream of data and/or headers from the remote end.
read-only, inherited
onTerminated void Function(int)
Sets the termination handler on this stream. [...]
write-only, inherited
outgoingMessages StreamSink<StreamMessage>
A sink for writing data and/or headers to the remote end.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited