Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
752 in github.com/Kludex/uvicorn
⨍
Functions
752
◇
Types & classes
84
↳
Endpoints
1
↓ 2 callers
Method
send_500_response
(self)
uvicorn/protocols/websockets/websockets_impl.py:218
↓ 2 callers
Function
send_text
(url: str)
tests/protocols/test_websocket.py:324
↓ 2 callers
Method
set_protocol
(self, protocol: asyncio.Protocol)
tests/benchmarks/http.py:109
↓ 2 callers
Method
shutdown
(self)
uvicorn/supervisors/basereload.py:102
↓ 2 callers
Method
startup
(self)
uvicorn/supervisors/basereload.py:72
↓ 2 callers
Method
stop_keepalive
(self)
uvicorn/protocols/websockets/wsproto_impl.py:284
↓ 2 callers
Method
stop_keepalive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:281
↓ 2 callers
Method
terminate_all
(self)
uvicorn/supervisors/multiprocess.py:165
↓ 2 callers
Method
wait_until_ready
Receives a timeout and returns True if the worker starts serving, or False on exit, shutdown, or timeout.
uvicorn/supervisors/multiprocess.py:85
↓ 1 callers
Method
__init__
(self, config: Config)
uvicorn/supervisors/watchfilesreload.py:14
↓ 1 callers
Function
_cancel_all_tasks
(loop: asyncio.AbstractEventLoop)
uvicorn/_compat.py:71
↓ 1 callers
Method
_compute_trust
(self, host: str)
uvicorn/middleware/proxy_headers.py:162
↓ 1 callers
Function
_get_status_line
(status_code: int)
uvicorn/protocols/http/httptools_impl.py:34
↓ 1 callers
Function
_get_status_phrase
(status_code: int)
uvicorn/protocols/http/h11_impl.py:31
↓ 1 callers
Method
_get_upgrade
(self)
uvicorn/protocols/http/h11_impl.py:140
↓ 1 callers
Method
_get_upgrade
(self)
uvicorn/protocols/http/httptools_impl.py:143
↓ 1 callers
Method
_install_sigquit_handler
Install a SIGQUIT handler on workers. - https://github.com/Kludex/uvicorn/issues/1116 - https://github.com/benoitc/gunicorn/issues/26
uvicorn/workers.py:85
↓ 1 callers
Method
_log_started_message
(self, listeners: Sequence[socket.SocketType])
uvicorn/server.py:195
↓ 1 callers
Function
_normalize_dirs
(dirs: list[str] | str | None)
uvicorn/config.py:182
↓ 1 callers
Function
_parse_host_port
Parse a forwarded host value into host and optional port. Accepts bare IPs, IPv4 `host:port`, and bracketed IPv6 `[host]:port`. Any unrecogni
uvicorn/middleware/proxy_headers.py:70
↓ 1 callers
Method
_serve
(self)
uvicorn/workers.py:95
↓ 1 callers
Method
_serve
(self, sockets: list[socket.socket] | None = None)
uvicorn/server.py:80
↓ 1 callers
Method
_should_upgrade
(self)
uvicorn/protocols/http/h11_impl.py:164
↓ 1 callers
Method
_unsupported_upgrade_warning
(self)
uvicorn/protocols/http/h11_impl.py:157
↓ 1 callers
Method
_unsupported_upgrade_warning
(self)
uvicorn/protocols/http/httptools_impl.py:160
↓ 1 callers
Function
_unused_port
Find an unused localhost port from 1024-65535 and return it.
tests/conftest.py:216
↓ 1 callers
Method
_wait_tasks_to_complete
(self)
uvicorn/server.py:301
↓ 1 callers
Method
asgi
(self)
tests/protocols/test_websocket.py:58
↓ 1 callers
Function
auto_loop_factory
(use_subprocess: bool = False)
uvicorn/loops/auto.py:7
↓ 1 callers
Function
build_environ
Builds a scope and request message into a WSGI environ object.
uvicorn/middleware/wsgi.py:27
↓ 1 callers
Method
callback_notify
(self)
uvicorn/workers.py:106
↓ 1 callers
Method
cancel
(self)
tests/protocols/test_http.py:218
↓ 1 callers
Method
capture_signals
(self)
uvicorn/server.py:320
↓ 1 callers
Method
color_level_name
(self, level_name: str, level_no: int)
uvicorn/logging.py:45
↓ 1 callers
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/http/h11_impl.py:107
↓ 1 callers
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/http/httptools_impl.py:101
↓ 1 callers
Method
data_received
(self, data: bytes)
uvicorn/protocols/http/httptools_impl.py:170
↓ 1 callers
Method
eof_received
(self)
uvicorn/protocols/http/h11_impl.py:132
↓ 1 callers
Method
formatMessage
(self, record: logging.LogRecord)
uvicorn/logging.py:97
↓ 1 callers
Function
generate_body
()
tests/middleware/test_wsgi.py:80
↓ 1 callers
Function
get_asyncio_default_loop_per_os
Get the default asyncio loop per OS.
tests/utils.py:51
↓ 1 callers
Method
get_status_code
(self, status_code: int)
uvicorn/logging.py:82
↓ 1 callers
Function
get_subprotocol
(url: str)
tests/protocols/test_websocket.py:670
↓ 1 callers
Method
get_trusted_client_address
Extract the client address from x_forwarded_for header. In general this is the first "untrusted" host in the forwarded for list.
uvicorn/middleware/proxy_headers.py:169
↓ 1 callers
Method
getpeername
(self)
tests/protocols/test_utils.py:23
↓ 1 callers
Method
handle_bytes
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:235
↓ 1 callers
Method
handle_close
(self, event: events.CloseConnection)
uvicorn/protocols/websockets/wsproto_impl.py:256
↓ 1 callers
Method
handle_close
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:323
↓ 1 callers
Method
handle_connect
(self, event: events.Request)
uvicorn/protocols/websockets/wsproto_impl.py:210
↓ 1 callers
Method
handle_connect
(self, event: Request)
uvicorn/protocols/websockets/websockets_sansio_impl.py:182
↓ 1 callers
Method
handle_cont
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:224
↓ 1 callers
Method
handle_events
(self)
uvicorn/protocols/websockets/wsproto_impl.py:168
↓ 1 callers
Method
handle_events
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:160
↓ 1 callers
Method
handle_message
(self, event: events.TextMessage | events.BytesMessage)
uvicorn/protocols/websockets/wsproto_impl.py:238
↓ 1 callers
Method
handle_ping
(self, event: events.Ping)
uvicorn/protocols/websockets/wsproto_impl.py:262
↓ 1 callers
Method
handle_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:258
↓ 1 callers
Method
handle_pong
(self, event: events.Pong)
uvicorn/protocols/websockets/wsproto_impl.py:265
↓ 1 callers
Method
handle_pong
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:262
↓ 1 callers
Method
handle_signals
(self)
uvicorn/supervisors/multiprocess.py:241
↓ 1 callers
Method
handle_text
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:229
↓ 1 callers
Method
handle_websocket_upgrade
(self, event: h11.Request)
uvicorn/protocols/http/h11_impl.py:285
↓ 1 callers
Method
handle_websocket_upgrade
(self)
uvicorn/protocols/http/httptools_impl.py:186
↓ 1 callers
Function
interrupt_running
(srv: Server)
tests/test_server.py:76
↓ 1 callers
Function
is_dir
(path: Path)
uvicorn/config.py:137
↓ 1 callers
Method
iter_py_files
(self)
uvicorn/supervisors/statreload.py:49
↓ 1 callers
Method
keep_subprocess_alive
(self)
uvicorn/supervisors/multiprocess.py:214
↓ 1 callers
Function
lifespan_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_websocket.py:1274
↓ 1 callers
Function
main
( app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str,
uvicorn/main.py:388
↓ 1 callers
Method
main_loop
(self)
uvicorn/server.py:230
↓ 1 callers
Function
make_tmp_dir
(base_dir)
tests/conftest.py:196
↓ 1 callers
Method
on_tick
(self, counter: int)
uvicorn/server.py:239
↓ 1 callers
Function
open_connection
(url: str)
tests/middleware/test_logging.py:103
↓ 1 callers
Function
ping_sent
()
tests/protocols/test_websocket.py:1341
↓ 1 callers
Method
pong
Receives one healthcheck ping and replies with whether the server has finished startup.
uvicorn/supervisors/multiprocess.py:57
↓ 1 callers
Method
receive
(self)
uvicorn/lifespan/on.py:136
↓ 1 callers
Function
receive_all
(sock: socket.socket)
tests/protocols/test_http.py:933
↓ 1 callers
Method
render
(self, content)
tests/response.py:23
↓ 1 callers
Function
resolve_reload_patterns
(patterns_list: list[str], directories_list: list[str])
uvicorn/config.py:146
↓ 1 callers
Method
restart
(self)
uvicorn/supervisors/basereload.py:86
↓ 1 callers
Method
restart
(self)
tests/supervisors/test_reload.py:365
↓ 1 callers
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/http/h11_impl.py:358
↓ 1 callers
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/http/httptools_impl.py:364
↓ 1 callers
Method
run
(self)
uvicorn/supervisors/multiprocess.py:196
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/h11_impl.py:414
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/httptools_impl.py:420
↓ 1 callers
Method
run_asgi
(self)
uvicorn/protocols/websockets/wsproto_impl.py:336
↓ 1 callers
Method
run_asgi
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:348
↓ 1 callers
Method
run_asgi
Wrapper around the ASGI callable, handling exceptions and unexpected termination states.
uvicorn/protocols/websockets/websockets_impl.py:241
↓ 1 callers
Method
run_later
(self, with_delay: float)
tests/protocols/test_http.py:241
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/httptools_impl.py:463
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/h11_impl.py:304
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/httptools_impl.py:206
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/h11_impl.py:442
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/httptools_impl.py:448
↓ 1 callers
Function
send_fragmented_req
(path: str)
tests/protocols/test_http.py:944
↓ 1 callers
Method
sender
(self, send: ASGISendCallable)
uvicorn/middleware/wsgi.py:146
↓ 1 callers
Method
set_content_length
(self)
tests/response.py:28
↓ 1 callers
Method
set_content_type
(self)
tests/response.py:32
↓ 1 callers
Function
set_exit
()
tests/test_server.py:114
↓ 1 callers
Method
setup_event_loop
(self)
uvicorn/config.py:530
← previous
next →
101–200 of 752, ranked by callers