Class: GrpcKit::Rpcs::ServerRpc

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

Instance Method Summary collapse

Constructor Details

#initialize(handler, config) ⇒ ServerRpc


24
25
26
27
# File 'lib/grpc_kit/rpcs.rb', line 24

def initialize(handler, config)
  @handler = handler
  @config = config
end

Instance Method Details

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


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

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