MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / serve_until_quit

Method serve_until_quit

tools/python-3.11.9-amd64/Lib/pydoc.py:2473–2478  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2471 self.quit = False
2472
2473 def serve_until_quit(self):
2474 while not self.quit:
2475 rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
2476 if rd:
2477 self.handle_request()
2478 self.server_close()
2479
2480 def server_activate(self):
2481 self.base.server_activate(self)

Callers 1

runMethod · 0.95

Calls 4

selectMethod · 0.45
filenoMethod · 0.45
handle_requestMethod · 0.45
server_closeMethod · 0.45

Tested by

no test coverage detected