ResponseSink class

Sends response payloads of one inbound call.

Constructors

ResponseSink(Endpoint _endpoint, int _streamId)

Properties

hashCode → int
The hash code for this object.
no setterinherited
headersSent ↔ bool
getter/setter pair
respHeaders ↔ Map<String, String>
getter/setter pair
respTrailers ↔ Map<String, String>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

flushHeaders() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(List<int> payload) → void
sendHeaders([Map<String, String>? metadata]) → void
sendTrailers(StatusException status) → void
toString() → String
A string representation of this object.
inherited

Operators

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