Class: UserAgentEchoService
- Inherits:
-
Object
- Object
- UserAgentEchoService
- 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
Instance Method Details
permalink #an_rpc(_req, call) ⇒ Object
[View source]
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 |