CMS 3D CMS Logo

Classes | Functions | Variables
server Namespace Reference

Classes

class  Serv
 

Functions

def run (server_class=HTTPServer, handler_class=Serv, port=65432)
 

Variables

 args
 
 default
 
 description
 
 help
 
 int
 
 parser
 
 port
 
 type
 

Function Documentation

◆ run()

def server.run (   server_class = HTTPServer,
  handler_class = Serv,
  port = 65432 
)

Definition at line 48 of file server.py.

References print().

48 def run(server_class=HTTPServer, handler_class=Serv, port=65432):
49  # Configure and start the HTTP server
50  server_address = ('localhost', port)
51  httpd = server_class(server_address, handler_class)
52  print(f"Server started at http://localhost:{port}")
53  httpd.serve_forever()
54 
def run(server_class=HTTPServer, handler_class=Serv, port=65432)
Definition: server.py:48
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

Variable Documentation

◆ args

server.args

Definition at line 59 of file server.py.

◆ default

server.default

Definition at line 58 of file server.py.

◆ description

server.description

Definition at line 57 of file server.py.

◆ help

server.help

Definition at line 58 of file server.py.

◆ int

server.int

Definition at line 58 of file server.py.

◆ parser

server.parser

Definition at line 57 of file server.py.

◆ port

server.port

Definition at line 62 of file server.py.

◆ type

server.type

Definition at line 58 of file server.py.