Class: GrpcKit::GRPC::ClientInterceptor

Inherits:
Interceptor show all
Defined in:
lib/grpc_kit/grpc/interceptor.rb

Instance Method Summary collapse

Methods inherited from Interceptor

#initialize

Constructor Details

This class inherits a constructor from GrpcKit::GRPC::Interceptor

Instance Method Details

#bidi_streamer(requests: nil, call: nil, method: nil, metadata: nil) ⇒ Object



28
29
30
# File 'lib/grpc_kit/grpc/interceptor.rb', line 28

def bidi_streamer(requests: nil, call: nil, method: nil, metadata: nil)
  yield
end

#client_streamer(requests: nil, call: nil, method: nil, metadata: nil) ⇒ Object



20
21
22
# File 'lib/grpc_kit/grpc/interceptor.rb', line 20

def client_streamer(requests: nil, call: nil, method: nil, metadata: nil)
  yield
end

#request_response(request: nil, call: nil, method: nil, metadata: nil) ⇒ Object

rubocop:disable Lint/UnusedMethodArgument



16
17
18
# File 'lib/grpc_kit/grpc/interceptor.rb', line 16

def request_response(request: nil, call: nil, method: nil, metadata: nil)
  yield
end

#server_streamer(request: nil, call: nil, method: nil, metadata: nil) ⇒ Object



24
25
26
# File 'lib/grpc_kit/grpc/interceptor.rb', line 24

def server_streamer(request: nil, call: nil, method: nil, metadata: nil)
  yield
end