ServerInterceptor class abstract
A gRPC Interceptor.
An interceptor is called around the corresponding ServiceMethod invocation. If the interceptor throws GrpcError, the error will be returned as a response. ServiceMethod wouldn't be called if the error is thrown before calling the invoker. If the interceptor modifies the provided stream, the invocation will continue with the provided stream.
Constructors
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
-
intercept<
Q, R> (ServiceCall call, ServiceMethod< Q, R> method, Stream<Q> requests, ServerStreamingInvoker<Q, R> invoker) → Stream<R> -
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