MCPcopy Create free account
hub / github.com/EasyIME/PIME / start_serving

Method start_serving

python/python3/tornado/http1connection.py:806–815  ·  view source on GitHub ↗

Starts serving requests on this connection. :arg delegate: a `.HTTPServerConnectionDelegate`

(self, delegate: httputil.HTTPServerConnectionDelegate)

Source from the content-addressed store, hash-verified

804 pass
805
806 def start_serving(self, delegate: httputil.HTTPServerConnectionDelegate) -> None:
807 """Starts serving requests on this connection.
808
809 :arg delegate: a `.HTTPServerConnectionDelegate`
810 """
811 assert isinstance(delegate, httputil.HTTPServerConnectionDelegate)
812 fut = gen.convert_yielded(self._server_request_loop(delegate))
813 self._serving_future = fut
814 # Register the future on the IOLoop so its errors get logged.
815 self.stream.io_loop.add_future(fut, lambda f: f.result())
816
817 async def _server_request_loop(
818 self, delegate: httputil.HTTPServerConnectionDelegate

Callers 1

handle_streamMethod · 0.95

Calls 3

_server_request_loopMethod · 0.95
add_futureMethod · 0.80
resultMethod · 0.80

Tested by

no test coverage detected