options

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

patch

patch(path, data, initheader = nil, dest = nil) Instance Public methods Sends a PATCH request to the path and gets a response, as an HTTPResponse object.

peer_cert

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

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.

post2

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

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.

proppatch

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

proxy?

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

proxy_address

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

proxy_from_env?

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