flup.server.threadedserver¶
-
class
flup.server.threadedserver.ThreadedServer(jobClass=None, jobArgs=(), **kw)¶ -
run(sock, timeout=1.0)¶ The main loop. Pass a socket that is ready to accept() client connections. Return value will be True or False indiciating whether or not the loop was exited due to SIGHUP.
-
shutdown()¶ Wait for running threads to finish.
-