Class: GRPC::RpcDesc::Stream
- Inherits:
-
Object
- Object
- GRPC::RpcDesc::Stream
- Defined in:
- src/ruby/lib/grpc/generic/rpc_desc.rb
Overview
Used to wrap a message class to indicate that it needs to be streamed.
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ Stream
constructor
A new instance of Stream.
Constructor Details
#initialize(type) ⇒ Stream
Returns a new instance of Stream.
28 29 30 |
# File 'src/ruby/lib/grpc/generic/rpc_desc.rb', line 28 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
26 27 28 |
# File 'src/ruby/lib/grpc/generic/rpc_desc.rb', line 26 def type @type end |