Class: GrpcKit::Calls::Client::ClientStreamer
- Inherits:
-
GrpcKit::Call
- Object
- GrpcKit::Call
- GrpcKit::Calls::Client::ClientStreamer
- Defined in:
- lib/grpc_kit/calls/client_client_streamer.rb
Instance Attribute Summary
Attributes inherited from GrpcKit::Call
#metadata, #method, #method_name, #service_name
Instance Method Summary collapse
-
#recv ⇒ Object
Response object.
- #send_msg(data) ⇒ void
Methods inherited from GrpcKit::Call
Constructor Details
This class inherits a constructor from GrpcKit::Call
Instance Method Details
#recv ⇒ Object
Returns response object.
18 19 20 |
# File 'lib/grpc_kit/calls/client_client_streamer.rb', line 18 def recv @stream.close_and_recv end |
#send_msg(data) ⇒ void
This method returns an undefined value.
13 14 15 |
# File 'lib/grpc_kit/calls/client_client_streamer.rb', line 13 def send_msg(data) @stream.send_msg(data, metadata: ) end |