Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
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_run
Function · 0.45
shutdown
Method · 0.45
terminate
Method · 0.45
shutdown
Method · 0.45
connection_lost
Method · 0.45
send_400_response
Method · 0.45
shutdown
Method · 0.45
timeout_keep_alive_handler
Method · 0.45
run_asgi
Method · 0.45
send
Method · 0.45
connection_lost
Method · 0.45
send_400_response
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_get_subprocess
Function · 0.36
test_subprocess_started
Function · 0.36
test_socket_bind
Function · 0.36
test_bind_unix_socket_works_with_reload_or_workers
Function · 0.36
test_bind_fd_works_with_reload_or_workers
Function · 0.36
stdin_socket
Function · 0.36
_has_ipv6
Function · 0.36
_raw_server
Function · 0.36
test_lifespan_on
Function · 0.36
test_lifespan_off
Function · 0.36
test_lifespan_auto
Function · 0.36
test_lifespan_auto_with_error
Function · 0.36