GRPC.ServerInterceptor behaviour (grpc v0.5.1)

Interceptor on server side. See GRPC.Endpoint.

Link to this section Summary

Link to this section Types

Specs

Specs

options() :: any()
Link to this type

rpc_return()

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)

Specs

Specs

init(options()) :: options()