grpc

v0.4.0-alpha.2

  • Pages
  • Modules
  • Exceptions
  • Mix Tasks

    grpc v0.4.0-alpha.2 GRPC.ServerInterceptor behaviour View Source

    Interceptor on server side. See GRPC.Endpoint.

    Link to this section Summary

    Types

    next()
    options()
    rpc_return()

    Callbacks

    call(arg0, stream, next, options)
    init(options)

    Link to this section Types

    Link to this type next() View Source
    next() :: (GRPC.Server.rpc_req(), GRPC.Server.Stream.t() -> rpc_return())
    Link to this type options() View Source
    options() :: any()
    Link to this type rpc_return() View Source
    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(arg0, stream, next, options) View Source
    call(GRPC.Server.rpc_req(), stream :: GRPC.Server.Stream.t(), next(), options()) ::
      rpc_return()
    Link to this callback init(options) View Source
    init(options()) :: options()

    Built using ExDoc (v0.19.1), designed by Friedel Ziegelmayer for the Elixir programming language.