grpc v0.5.0-beta.1 GRPC.ServerInterceptor behaviour View Source
Interceptor on server side. See GRPC.Endpoint
.
Link to this section Summary
Link to this section Types
Link to this type
next()
View Sourcenext() :: (GRPC.Server.rpc_req(), GRPC.Server.Stream.t() -> rpc_return())
Link to this type
rpc_return()
View Sourcerpc_return() :: {:ok, GRPC.Server.Stream.t(), struct()} | {:ok, GRPC.Server.Stream.t()} | {:error, GRPC.RPCError.t()}
Link to this section Callbacks
Link to this callback
call(arg1, stream, next, options)
View Sourcecall(GRPC.Server.rpc_req(), stream :: GRPC.Server.Stream.t(), next(), options()) :: rpc_return()