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=global_settings.applications_parent, ssl_certificate=global_settings.applications_parent, ssl_private_key=global_settings.applications_parent, ssl_ca_certificate=global_settings.applications_parent, min_threads=global_settings.applications_parent, max_threads=global_settings.applications_parent, server_name=global_settings.applications_parent, request_queue_size=5, timeout=10, socket_timeout=global_settings.applications_parent, shutdown_timeout=global_settings.applications_parent, path=global_settings.applications_parent, interfaces=global_settings.applications_parent)
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=global_settings.applications_parent, ssl_certificate=global_settings.applications_parent, ssl_private_key=global_settings.applications_parent, ssl_ca_certificate=global_settings.applications_parent, min_threads=global_settings.applications_parent, max_threads=global_settings.applications_parent, server_name=global_settings.applications_parent, request_queue_size=5, timeout=10, socket_timeout=global_settings.applications_parent, shutdown_timeout=global_settings.applications_parent, path=global_settings.applications_parent, interfaces=global_settings.applications_parent)
(Constructor)

source code

starts the web server.

Overrides: object.__init__