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

Method close

tests/benchmarks/http.py:94–95  ·  tests/benchmarks/http.py::MockTransport.close
(self)

Source from the content-addressed store, hash-verified

92 self.buffer += data
93
94 def close(self) -> None:
95 self.closed = True
96
97 def pause_reading(self) -> None:
98 self.read_paused = True

Callers 15

asyncio_runFunction · 0.45
shutdownMethod · 0.45
terminateMethod · 0.45
shutdownMethod · 0.45
connection_lostMethod · 0.45
send_400_responseMethod · 0.45
shutdownMethod · 0.45
run_asgiMethod · 0.45
sendMethod · 0.45
connection_lostMethod · 0.45
send_400_responseMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_get_subprocessFunction · 0.36
test_subprocess_startedFunction · 0.36
test_socket_bindFunction · 0.36
stdin_socketFunction · 0.36
_has_ipv6Function · 0.36
_raw_serverFunction · 0.36
test_lifespan_onFunction · 0.36
test_lifespan_offFunction · 0.36
test_lifespan_autoFunction · 0.36