MCPcopy
hub / github.com/encode/uvicorn / data_received

Method data_received

uvicorn/protocols/http/h11_impl.py:171–175  ·  uvicorn/protocols/http/h11_impl.py::H11Protocol.data_received
(self, data: bytes)

Source from the content-addressed store, hash-verified

169 return False
170
171 def data_received(self, data: bytes) -> None:
172 self._unset_keepalive_if_required()
173
174 self.conn.receive_data(data)
175 self.handle_events()
176
177 def handle_events(self) -> None:
178 while True:

Callers 15

test_get_requestFunction · 0.45
test_invalid_header_nameFunction · 0.45
test_request_loggingFunction · 0.45
test_head_requestFunction · 0.45
test_post_requestFunction · 0.45
test_keepaliveFunction · 0.45
test_keepalive_timeoutFunction · 0.45
test_closeFunction · 0.45
test_chunked_encodingFunction · 0.45

Calls 2

handle_eventsMethod · 0.95

Tested by 15

test_get_requestFunction · 0.36
test_invalid_header_nameFunction · 0.36
test_request_loggingFunction · 0.36
test_head_requestFunction · 0.36
test_post_requestFunction · 0.36
test_keepaliveFunction · 0.36
test_keepalive_timeoutFunction · 0.36
test_closeFunction · 0.36
test_chunked_encodingFunction · 0.36