GrpcStreamHandler<Req extends GeneratedMessage, Res extends GeneratedMessage> class
The GrpcStreamHandler typedef is the gRPC stream handler function.
Constructors
-
GrpcStreamHandler(Stream<
Res> _handler(ServiceCall call, Stream<Req> requests, RpcContext context)) - Creates a gRPC stream handler.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
ServiceCall call, Stream< Req> requests, RpcContext context) → Stream<Res> - Calls the handler function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited