gstlal 1.13.0
Loading...
Searching...
No Matches
python.httpinterface.HTTPDServer Class Reference
Inheritance diagram for python.httpinterface.HTTPDServer:
Collaboration diagram for python.httpinterface.HTTPDServer:

Public Member Functions

 __init__ (self, host, port, bottle_app, verbose=False)
 __enter__ (self)
 __exit__ (self, exc_type, exc_value, traceback)

Public Attributes

 host = host
 port = port
 bottle_app = bottle_app
 verbose = verbose
 httpd = bottle.WSGIRefServer(host = self.host, port = self.port)
 httpd_thread = threading.Thread(target = self.httpd.run, args = (self.bottle_app,))

Detailed Description

Definition at line 65 of file httpinterface.py.

Constructor & Destructor Documentation

◆ __init__()

python.httpinterface.HTTPDServer.__init__ ( self,
host,
port,
bottle_app,
verbose = False )

Definition at line 66 of file httpinterface.py.

Member Function Documentation

◆ __enter__()

python.httpinterface.HTTPDServer.__enter__ ( self)

Definition at line 72 of file httpinterface.py.

◆ __exit__()

python.httpinterface.HTTPDServer.__exit__ ( self,
exc_type,
exc_value,
traceback )

Definition at line 87 of file httpinterface.py.

Member Data Documentation

◆ bottle_app

python.httpinterface.HTTPDServer.bottle_app = bottle_app

Definition at line 69 of file httpinterface.py.

◆ host

python.httpinterface.HTTPDServer.host = host

Definition at line 67 of file httpinterface.py.

◆ httpd

python.httpinterface.HTTPDServer.httpd = bottle.WSGIRefServer(host = self.host, port = self.port)

Definition at line 73 of file httpinterface.py.

◆ httpd_thread

python.httpinterface.HTTPDServer.httpd_thread = threading.Thread(target = self.httpd.run, args = (self.bottle_app,))

Definition at line 74 of file httpinterface.py.

◆ port

python.httpinterface.HTTPDServer.port = port

Definition at line 68 of file httpinterface.py.

◆ verbose

python.httpinterface.HTTPDServer.verbose = verbose

Definition at line 70 of file httpinterface.py.


The documentation for this class was generated from the following file: