resource_errors

resource_errors() Instance Protected methods

send_file

send_file(path, options = {}) Instance Protected methods Sends the file. This uses a server-appropriate method (such as X-Sendfile) via the Rack::Sendfile middleware. The header to use is set via config.action_dispatch.x_sendfile_header. Your server can also configure this for you by setting the X-Sendfile-Type header. Be careful to sanitize the path parameter if it is coming from a web page. send_file(params[:path]) allows a malicious user to download any file on your server. Opti

proxy2

proxy2(prefix=nil, *args) Instance Public methods Almost the same like #proxy only that a call on the returned XMLRPC::Client::Proxy object will return two parameters. See #call2

root?

root?() Instance Public methods Predicate method for root directories. Returns true if the pathname consists of consecutive slashes. It doesn't access the filesystem. So it may return false for some pathnames which points to roots such as /usr/...

set_symbol_type

set_symbol_type(val) Instance Public methods Also aliased as: symbol_type=

start

start(interval) Instance Public methods

private?

dh.private? â true | false Instance Public methods Indicates whether this DH instance has a private key associated with it or not. The private key may be retrieved with DH#priv_key.

name

meth.name â symbol Instance Public methods Returns the name of the method.

syswrite

ssl.syswrite(string) => Integer Instance Public methods Writes string to the SSL connection.

clear_cache

clear_cache(file=None) Class Public methods