class T2Server::DefaultConnectionParameters
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.
Public Class Methods
new()
click to toggle source
Create connection parameters that are secure by default and verify the server that is being connected to.
Calls superclass method
T2Server::ConnectionParameters.new
# File lib/t2-server/net/parameters.rb, line 90 def initialize super self[:verify_peer] = true end