update(hash) Instance Public methods
writeTo(port) Instance Public methods Output the Hash table for the HTTP header
new(handle_obj, port = 8080, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stdout, audit = true, debug = true) Class Public methods handle_obj specifies the object, that receives calls from request_handler and ip_auth_handler
http_date( aTime ) Instance Private methods Returns a string which represents the time as rfc1123-date of HTTP-date
http_header(header=nil) Instance Private methods Generates a Hash with the HTTP headers
http_resp(status_code, status_message=nil, header=nil, body=nil) Instance Private methods Returns a string which includes the status code message as, http headers, and body for the response.
serve(io) Instance Private methods Handles the HTTP request and writes the response back to the client, io. If an Exception is raised while handling the request, the client will receive a 500 âInternal Server Errorâ message.
new() Class Public methods
method_missing(event, *args) Instance Public methods
onNavigateComplete2(pdisp, url) Instance Public methods
Page 381 of 11844