add_handler

add_handler(prefix, obj_or_signature=nil, help=nil, &block) Instance Public methods Adds aBlock to the list of handlers, with name as the name of the method. Parameters signature and help are used by the Introspection method if specified, where signature is either an Array containing strings each representing a type of it's signature (the first is the return value) or an Array of Arrays if the method has multiple signatures. Value type-names are âint, boolean, double, string, T

remove_handler

remove_handler(suffix) Class Public methods Remove custom handling of requests for files with suffix

new

new(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = DEFAULT_PARSER, arg_check = false) Class Public methods Args scheme Protocol scheme, i.e. 'http','ftp','mailto' and so on. userinfo User name and password, i.e. 'sdmitry:bla' host Server host name port Server port registry Registry of naming authorities. path Path on server opaque Opaque part query Query data fragment A part of URI after '#' sign parser Parser fo

lookup_server

lookup_server(req) Instance Public methods Finds the appropriate virtual host to handle req

bind

bind(&block) Instance Public methods

controller

controller() Instance Public methods

demoInternetOptions

demoInternetOptions(t) Instance Public methods

port=

port=(number) Instance Public methods

rfc822

Date.rfc822(string='Mon, 1 Jan -4712 00:00:00 +0000'[, start=ITALY]) â date Class Public methods Creates a new Date object by parsing from a string according to some typical RFC 2822 formats. Date.rfc2822('Sat, 3 Feb 2001 00:00:00 +0000') #=> #<Date: 2001-02-03 ...>

gets

gets() Instance Public methods Alias for: shift