Returns the X509 certificate chain (an array of strings) for the session’s socket peer, or nil
if none.
Returns the port number of the proxy server, if defined, nil
otherwise; see Proxy Server.
Returns the password of the proxy server, if defined, nil
otherwise; see Proxy Server.
utils
Like Net::HTTP.get
, but returns a Net::HTTPResponse
object instead of the body string.
Returns integer 80
, the default port to use for HTTP requests:
Net::HTTP.default_port # => 80
Returns the X509 certificate chain (an array of strings) for the session’s socket peer, or nil
if none.
Returns the port number of the proxy server, if defined, nil
otherwise; see Proxy Server.
Returns the password of the proxy server, if defined, nil
otherwise; see Proxy Server.
true if the response has a body.
Private setter for the path of the URI::FTP
.
Visit a list of nodes.
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node }