GrpcRouteHandlerSpec<Req extends GeneratedMessage, Res extends GeneratedMessage> class

The GrpcRouteHandlerSpec class is the gRPC route handler specification.

Inheritance

Constructors

GrpcRouteHandlerSpec(GrpcRoute route, Future<Res> handler(ServiceCall call, Req request, RpcContext context))
Creates a gRPC route handler specification.

Properties

handler GrpcUnaryHandler<GeneratedMessage, GeneratedMessage>
The handler property contains the handler function.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
route → Route
The route property contains the route information.
finalinherited
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
toString() String
A string representation of this object.
inherited

Operators

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