GRPC.ServerInterceptor behaviour (grpc v0.6.3-git-c634) View Source

Interceptor on server side. See GRPC.Endpoint.

Link to this section Summary

Link to this section Types

Specs

Specs

options() :: any()

Specs

rpc_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 Source

Specs

Specs

init(options()) :: options()