Creates a new GW
Create a DRb::DRbSSLSocket
instance.
uri
is the URI
we are connected to. soc
is the tcp socket we are bound to. config
is our configuration. Either a Hash
or SSLConfig
is_established
is a boolean of whether soc
is currently established
This is called automatically based on the DRb
protocol.
Creates a new TimerIdConv
which will hold objects for keeping
seconds.
Creates a new StringInputMethod
object
Creates a new Net::HTTP
object without opening a TCP connection or HTTP
session.
The address
should be a DNS hostname or IP address, the port
is the port the server operates on. If no port
is given the default port for HTTP
or HTTPS is used.
If none of the p_
arguments are given, the proxy host and port are taken from the http_proxy
environment variable (or its uppercase equivalent) if present. If the proxy requires authentication you must supply it by hand. See URI::Generic#find_proxy
for details of proxy detection from the environment. To disable proxy detection set p_addr
to nil.
If you are connecting to a custom proxy, p_addr
specifies the DNS name or IP address of the proxy host, p_port
the port to use to access the proxy, p_user
and p_pass
the username and password if authorization is required to use the proxy, and p_no_proxy hosts which do not use the proxy.
Creates an HTTP request object for path
.
initheader
are the default headers to use. Net::HTTP
adds Accept-Encoding to enable compression of the response body unless Accept-Encoding or Range
are supplied in initheader
.
Creates a new URI::FTP
object from generic URL components with no syntax checking.
Unlike build(), this method does not escape the path component as required by RFC1738; instead it is treated as per RFC2396.
Arguments are scheme
, userinfo
, host
, port
, registry
, path
, opaque
, query
, and fragment
, in that order.
Just initializes all instance variables.
Create a PrettyPrint::SingleLine
object
Arguments:
output
- String
(or similar) to store rendered text. Needs to respond to ‘<<’
maxwidth
- Argument position expected to be here for compatibility.
This argument is a noop.
newline
- Argument position expected to be here for compatibility.
This argument is a noop.