Class: GrpcKit::Rpcs::ClientRpc

Inherits:
Object
  • Object
show all
Defined in:
lib/grpc_kit/rpcs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ClientRpc

Returns a new instance of ClientRpc.

Parameters:



14
15
16
# File 'lib/grpc_kit/rpcs.rb', line 14

def initialize(config)
  @config = config
end

Instance Attribute Details

#configGrpcKit::MethodConfig (readonly)



11
12
13
# File 'lib/grpc_kit/rpcs.rb', line 11

def config
  @config
end

Instance Method Details

#invoke(stream, request, metadata: {}, timeout: nil) ⇒ Object



18
# File 'lib/grpc_kit/rpcs.rb', line 18

def invoke(stream, request, metadata: {}, timeout: nil); end