Class: GRPC::RpcDesc::Stream

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ Stream


43
44
45
# File 'src/ruby/lib/grpc/generic/rpc_desc.rb', line 43

def initialize(type)
  @type = type
end

Instance Attribute Details

#typeObject

Returns the value of attribute type


41
42
43
# File 'src/ruby/lib/grpc/generic/rpc_desc.rb', line 41

def type
  @type
end