Webserver class.
|
__init__(self,
server_name='',
host=None,
port=None,
adapter=None)
WebServer class constructor. |
source code
|
|
|
|
|
|
|
|
string
|
get_listen_url(self)
Returns the URL currently set to listen on. |
source code
|
|
tuple
|
|
|
set_bind_address(self,
host,
port)
Sets the listening url, if it is usable. |
source code
|
|
string
|
|
int
|
|
|
is_running(self)
Returns True if the webserver is running, False otherwise. |
source code
|
|
bool
|
check_url(self,
host,
port)
Returns True if the webserver will be able to listen on this URL,
False otherwise. |
source code
|
|
|
|
Inherited from Resource :
add_resource ,
add_static_file ,
application ,
get_render ,
render
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|