Class: UserAgentEchoService

Inherits:
Object
  • Object
show all
Includes:
GRPC::GenericService
Defined in:
src/ruby/spec/user_agent_spec.rb

Overview

a test service that checks the cert of its peer

Instance Method Summary collapse

Methods included from GRPC::GenericService

included, underscore

Instance Method Details

#an_rpc(_req, call) ⇒ Object



22
23
24
# File 'src/ruby/spec/user_agent_spec.rb', line 22

def an_rpc(_req, call)
  EchoMsg.new(msg: call.['user-agent'])
end