parse_set_cookies(str) Class Public methods Parses the cookies in str
expires() Instance Public methods Retrieves the expiration time as a Time
expires=(t) Instance Public methods Sets the cookie expiration to the time t. The expiration time may be a false value to disable expiration or a Time or HTTP format time string to set the expiration date.
to_s() Instance Public methods The cookie string suitable for use in an HTTP header
start() Class Public methods Performs the standard operations for daemonizing a process. Runs a block, if given.
new(config={}, default=Config::General) Class Public methods Creates a new generic server from config. The default configuration comes from default.
[](key) Instance Public methods Retrieves key from the configuration
listen(address, port) Instance Public methods Adds listeners from address and port to the server. See WEBrick::Utils.create_listeners for details.
run(sock) Instance Public methods You must subclass GenericServer and implement #run which accepts a TCP client socket
shutdown() Instance Public methods Shuts down the server and all listening sockets. New listeners must be provided to restart the server.
Page 1856 of 11844