class HTTPClient::Util::AddressableURI
Public Instance Methods
hostname()
click to toggle source
Captured from uri/generic.rb
# File lib/httpclient/util.rb, line 85 def hostname v = self.host /\A\[(.*)\]\z/ =~ v ? $1 : v end
port()
click to toggle source
HTTPClient
expects urify(“foo/”).port to be not nil but 80 like URI
.
Calls superclass method
# File lib/httpclient/util.rb, line 80 def port super || default_port end