Class: GrpcKit::Interceptors::Server::ClientStreamer

Inherits:
Streaming
  • Object
show all
Defined in:
lib/grpc_kit/interceptors/server_client_streamer.rb

Instance Method Summary collapse

Methods inherited from Streaming

#initialize, #intercept

Constructor Details

This class inherits a constructor from GrpcKit::Interceptors::Server::Streaming

Instance Method Details

#invoke(interceptor, call) ⇒ Object



8
9
10
11
12
# File 'lib/grpc_kit/interceptors/server_client_streamer.rb', line 8

def invoke(interceptor, call)
  interceptor.client_streamer(call: call, method: call.method) do
    yield(call)
  end
end