lib/nexpose/ajax.rb
# Use the Nexpose::Connection to establish a correct HTTPS object.
Use the Nexpose::Connection to establish a correct HTTPS object.
Use the Nexpose :: Connection to establish a correct HTTPS object .
def _https(nsc)
      http = Net::HTTP.new(nsc.host, nsc.port)
      http.use_ssl = true
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      http
    end
def _https ( nsc ) http = Net :: HTTP . new ( nsc . host , nsc . port ) http . use_ssl = true http . verify_mode = OpenSSL :: SSL :: VERIFY_NONE http end
Use the Nexpose::Connection to establish a correct HTTPS object.
Use the Nexpose :: Connection to establish a correct HTTPS object .
nsc
<not_specific>