View Source GRPC.ClientInterceptor behaviour (grpc v0.9.0)
This behaviour is deprecated. Use `GRPC.Client.Interceptor` instead.
Interceptor on client side. See GRPC.Stub.connect/2
.
Summary
Types
@type next() :: (GRPC.Client.Stream.t(), req() -> GRPC.Stub.rpc_return())
@type options() :: any()
@type req() :: struct() | nil
Callbacks
@callback call(stream :: GRPC.Client.Stream.t(), req(), next(), options()) :: GRPC.Stub.rpc_return()