The provider side of a call. Completion of the registered handler publishes terminal success; throwing RpcError publishes that status and its details. Await send for bounded output capacity and observe context cancellation in external work. requests and recv are alternative ways to consume input.
Properties
- context → CallContext
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
requests
→ Stream<
Uint8List> -
no setter
- 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
-
recv(
) → Future< Uint8List?> -
send(
Uint8List bytes) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited