Class: GRPC::Interceptor

Inherits:
Object
  • Object
show all
Defined in:
src/ruby/lib/grpc/generic/interceptors.rb

Overview

Base class for interception in GRPC

Direct Known Subclasses

ClientInterceptor, ServerInterceptor

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Interceptor

Returns a new instance of Interceptor.

Parameters:

  • options (Hash) (defaults to: {})

    A hash of options that will be used by the interceptor. This is an EXPERIMENTAL API.



26
27
28
# File 'src/ruby/lib/grpc/generic/interceptors.rb', line 26

def initialize(options = {})
  @options = options || {}
end