Method: #test_server_creds
- Defined in:
-
src/ruby/pb/test/server.rb,
src/ruby/bin/math_server.rb,
src/ruby/bin/noproto_server.rb
creates a ServerCredentials from the test certificates.
105 106 107 108 109 |
# File 'src/ruby/pb/test/server.rb', line 105 def test_server_creds certs = load_test_certs GRPC::Core::ServerCredentials.new( nil, [{private_key: certs[1], cert_chain: certs[2]}], false) end |