Class: T2Server::DefaultConnectionParameters
- Inherits:
-
ConnectionParameters
- Object
- ConnectionParameters
- T2Server::DefaultConnectionParameters
- Defined in:
- lib/t2-server/net/parameters.rb
Overview
Connection parameters with sensible defaults set for standard connections. If the connection is over SSL then the peer will be verified using the underlying OS’s certificate store.
Direct Known Subclasses
ClientAuthSSLConnectionParameters, CustomCASSLConnectionParameters, SSL3ConnectionParameters
Constant Summary
Constants inherited from ConnectionParameters
ConnectionParameters::ALLOWED_PARAMS
Instance Method Summary collapse
-
#initialize ⇒ DefaultConnectionParameters
constructor
Create connection parameters that are secure by default and verify the server that is being connected to.
Methods inherited from ConnectionParameters
Constructor Details
#initialize ⇒ DefaultConnectionParameters
Create connection parameters that are secure by default and verify the server that is being connected to.
90 91 92 93 |
# File 'lib/t2-server/net/parameters.rb', line 90 def initialize super self[:verify_peer] = true end |