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

Method handle_stream

python/python3/tornado/httpserver.py:235–241  ·  view source on GitHub ↗
(self, stream: iostream.IOStream, address: Tuple)

Source from the content-addressed store, hash-verified

233 await conn.close()
234
235 def handle_stream(self, stream: iostream.IOStream, address: Tuple) -> None:
236 context = _HTTPRequestContext(
237 stream, address, self.protocol, self.trusted_downstream
238 )
239 conn = HTTP1ServerConnection(stream, self.conn_params, context)
240 self._connections.add(conn)
241 conn.start_serving(self)
242
243 def start_request(
244 self, server_conn: object, request_conn: httputil.HTTPConnection

Callers

nothing calls this directly

Calls 4

start_servingMethod · 0.95
_HTTPRequestContextClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected