proxy_port

proxy_port() Instance Public methods The port of the proxy server, if one is configured. proxyport

proxy_pass

proxy_pass() Instance Public methods The proxy password, if one is configured

proxy_from_env?

proxy_from_env?() Instance Public methods True if the proxy for this connection is determined from the environment

proxy_address

proxy_address() Instance Public methods The address of the proxy server, if one is configured. proxyaddr

proxy?

proxy?() Instance Public methods True if requests for this connection will be proxied

proppatch

proppatch(path, body, initheader = nil) Instance Public methods Sends a PROPPATCH request to the path and gets a response, as an HTTPResponse object.

propfind

propfind(path, body = nil, initheader = {'Depth' => '0'}) Instance Public methods Sends a PROPFIND request to the path and gets a response, as an HTTPResponse object.

post2

post2(path, data, initheader = nil) Instance Public methods Alias for: request_post

post

post(path, data, initheader = nil, dest = nil) Instance Public methods Posts data (must be a String) to path. header must be a Hash like { 'Accept' => '/', ⦠}. This method returns a Net::HTTPResponse object. If called with a block, yields each fragment of the entity body in turn as a string as it is read from the socket. Note that in this case, the returned response object will not contain a (meaningful) body. dest argument is obsolete. It still works but you must not use it.

peer_cert

peer_cert() Instance Public methods Returns the X.509 certificates the server presented.