Package web2py :: Package gluon :: Module main :: Class HttpServer
[hide private]
[frames] | no frames]

Class HttpServer

source code

object --+
         |
        HttpServer

the web2py web server (Rocket)

Instance Methods [hide private]
 
__init__(self, ip='127.0.0.1', port=8000, password='', pid_filename='httpserver.pid', log_filename='httpserver.log', profiler_filename=1, ssl_certificate=1, ssl_private_key=1, min_threads=1, max_threads=1, server_name=1, request_queue_size=5, timeout=10, shutdown_timeout=1, path=1, interfaces=1)
starts the web server.
source code
 
start(self)
start the web server
source code
 
stop(self, stoplogging=True)
stop cron and the web server
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ip='127.0.0.1', port=8000, password='', pid_filename='httpserver.pid', log_filename='httpserver.log', profiler_filename=1, ssl_certificate=1, ssl_private_key=1, min_threads=1, max_threads=1, server_name=1, request_queue_size=5, timeout=10, shutdown_timeout=1, path=1, interfaces=1)
(Constructor)

source code 
starts the web server.
Overrides: object.__init__