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.

# File lib/t2-server/net/parameters.rb, line 84
def initialize
  super
  self[:verify_peer] = true
end