| Trees | Indices | Help |
|---|
|
|
object --+
|
tcp_support.TCPSupport --+
|
object --+ |
| |
ssl_support.SSLSupport --+
|
object --+
|
HttpServer
An HTTP and websockets server
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Set the HTTP request handler for the server. As HTTP requests arrive on the server a new HttpServerRequest instance will be created and passed to the handler. Keyword arguments:
|
Set the websocket handler for the server. As websocket requests arrive on the server a new ServerWebSocket instance will be created and passed to the handler. Keyword arguments:
|
Instruct the server to listen for incoming connections. If host is None listens on all. Keyword arguments:
|
Client authentication is an extra level of security in SSL, and requires clients to provide client certificates. Those certificates must be added to the server trust store. Keyword arguments:
|
Close the server. Any open HTTP connections will be closed. This can be used as a decorator. Keyword arguments:
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Oct 24 18:50:44 2012 | http://epydoc.sourceforge.net |