Class: UserAgentEchoService
- Includes:
- GRPC::GenericService
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/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
#an_rpc(_req, call) ⇒ Object
22 23 24 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/spec/user_agent_spec.rb', line 22 def an_rpc(_req, call) EchoMsg.new(msg: call.['user-agent']) end |