Class: GRPC::RpcDesc::Stream
- Inherits:
-
Object
- Object
- GRPC::RpcDesc::Stream
- Defined in:
- 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.
43 44 45 |
# File 'lib/grpc/generic/rpc_desc.rb', line 43 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
41 42 43 |
# File 'lib/grpc/generic/rpc_desc.rb', line 41 def type @type end |