Class: HttpServer
- Inherits:
-
GServer
- Object
- GServer
- HttpServer
- Defined in:
- lib/xmlrpc/httpserver.rb
Overview
Implements a simple HTTP-server by using John W. Small’s ([email protected]) ruby-generic-server: GServer.
Defined Under Namespace
Classes: Request, Response, Table
Instance Method Summary collapse
-
#initialize(handle_obj, port = 8080, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stdout, audit = true, debug = true) ⇒ HttpServer
constructor
handle_obj
specifies the object, that receives calls fromrequest_handler
andip_auth_handler
.
Constructor Details
#initialize(handle_obj, port = 8080, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stdout, audit = true, debug = true) ⇒ HttpServer
handle_obj
specifies the object, that receives calls from request_handler
and ip_auth_handler
16 17 18 19 20 |
# File 'lib/xmlrpc/httpserver.rb', line 16 def initialize(handle_obj, port = 8080, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stdout, audit = true, debug = true) @handler = handle_obj super(port, host, maxConnections, stdlog, audit, debug) end |