new(address, port = nil)
Class Public methods
Creates a new Net::HTTP object for the specified
server address, without opening the TCP connection or initializing the HTTP session. The address
should be a DNS
hostname or IP address.
Designed by : w10schools
service@w10schools.com
Please login to continue.