Class: GrpcKit::GRPC::ClientInterceptor
Instance Method Summary
collapse
-
#bidi_streamer(requests: nil, call: nil, method: nil, metadata: nil) ⇒ Object
-
#client_streamer(requests: nil, call: nil, method: nil, metadata: nil) ⇒ Object
-
#request_response(request: nil, call: nil, method: nil, metadata: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
-
#server_streamer(request: nil, call: nil, method: nil, metadata: nil) ⇒ Object
Methods inherited from Interceptor
#initialize
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
|