Results for: "Pathname"

Store session data on the server. For some session storage types, this is a no-op.

No documentation available

Returns the IP address for the connection.

If the session has not been started, returns the value set by ipaddr=, or nil if it has not been set:

http = Net::HTTP.new(hostname)
http.ipaddr # => nil
http.ipaddr = '172.67.155.76'
http.ipaddr # => "172.67.155.76"

If the session has been started, returns the IP address from the socket:

http = Net::HTTP.new(hostname)
http.start
http.ipaddr # => "172.67.155.76"
http.finish

Sets the IP address for the connection:

http = Net::HTTP.new(hostname)
http.ipaddr # => nil
http.ipaddr = '172.67.155.76'
http.ipaddr # => "172.67.155.76"

The IP address may not be set if the session has been started.

No documentation available
No documentation available

Description

Returns the authority for an HTTP uri, as defined in www.rfc-editor.org/rfc/rfc3986#section-3.2.

Example:

URI::HTTP.build(host: 'www.example.com', path: '/foo/bar').authority #=> "www.example.com"
URI::HTTP.build(host: 'www.example.com', port: 8000, path: '/foo/bar').authority #=> "www.example.com:8000"
URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').authority #=> "www.example.com"

Completion for hash key.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

A Location instance that represents the location of this node in the source.

def operator: () -> String

Search took: 4ms  ·  Total Results: 3265