Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
939 in github.com/Kludex/uvicorn
⨍
Functions
939
◇
Types & classes
99
↳
Endpoints
1
↓ 3 callers
Method
trace
(message: Any, *args: Any, **kwargs: Any)
uvicorn/middleware/message_logger.py:42
↓ 2 callers
Function
_display_path
(path: Path)
uvicorn/supervisors/basereload.py:120
↓ 2 callers
Method
_healthcheck
Receives a timeout and returns the worker's startup flag, or None if it does not answer in time.
uvicorn/supervisors/multiprocess.py:38
↓ 2 callers
Function
_parse_raw_hosts
(value: str)
uvicorn/middleware/proxy_headers.py:66
↓ 2 callers
Function
_raw_server
( *, app: ASGIApplication, port: int, http_protocol_cls: type[H11Protocol | HttpToolsProtocol]
tests/test_server.py:171
↓ 2 callers
Method
_read_server_output
(self)
tests/protocols/test_websocket.py:1589
↓ 2 callers
Method
_should_upgrade_to_ws
(self)
uvicorn/protocols/http/zttp_impl.py:115
↓ 2 callers
Method
_should_upgrade_to_ws
(self)
uvicorn/protocols/http/h11_impl.py:152
↓ 2 callers
Method
_should_upgrade_to_ws
(self)
uvicorn/protocols/http/httptools_impl.py:155
↓ 2 callers
Method
_start_asgi_task
(self, cycle: RequestResponseCycle, app: ASGI3Application)
uvicorn/protocols/http/httptools_impl.py:299
↓ 2 callers
Method
_switch
(self, http2: bool, initial_data: bytes = b"")
uvicorn/protocols/http/auto_zttp_impl.py:78
↓ 2 callers
Function
assert_event_loop
(expected_loop_class: type[AbstractEventLoop])
tests/test_compat.py:13
↓ 2 callers
Method
clear_buffer
(self)
tests/protocols/test_http2.py:86
↓ 2 callers
Method
close
(self)
tests/protocols/test_websocket.py:1461
↓ 2 callers
Method
configure_logging
(self)
uvicorn/config.py:387
↓ 2 callers
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/http/auto_zttp_impl.py:44
↓ 2 callers
Function
create_ssl_context
( certfile: str | os.PathLike[str], keyfile: str | os.PathLike[str] | None, password: str | None,
uvicorn/config.py:119
↓ 2 callers
Method
create_task
(self, coroutine: Any)
tests/protocols/test_http.py:229
↓ 2 callers
Method
events
Yield every complete event currently available.
uvicorn/protocols/http/zttp_h2_impl.py:155
↓ 2 callers
Function
extract_json_body
(request: bytes)
tests/test_server.py:187
↓ 2 callers
Method
flush
Deliver the pending client frames to the server as a single read.
tests/protocols/test_websocket.py:1542
↓ 2 callers
Function
get_connected_ws_protocol
(config: Config, ws_protocol_cls: WSProtocolClass)
tests/benchmarks/ws.py:33
↓ 2 callers
Function
get_data
(url: str)
tests/protocols/test_websocket.py:278
↓ 2 callers
Method
handle_events
(self, event: zttp.Event)
uvicorn/protocols/http/zttp_impl.py:145
↓ 2 callers
Method
handle_events
(self)
uvicorn/protocols/http/h11_impl.py:178
↓ 2 callers
Method
handle_parser_exception
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:393
↓ 2 callers
Method
handle_remote_protocol_error
(self)
uvicorn/protocols/http/zttp_impl.py:229
↓ 2 callers
Method
handle_signals
(self)
uvicorn/supervisors/multiprocess.py:241
↓ 2 callers
Function
http_protocol_cls
(request: pytest.FixtureRequest)
tests/conftest.py:267
↓ 2 callers
Method
is_closing
(self)
tests/protocols/test_websocket.py:1464
↓ 2 callers
Method
is_ready
Receives a timeout and returns True if the worker answers and its server has finished startup.
uvicorn/supervisors/multiprocess.py:53
↓ 2 callers
Method
keep_subprocess_alive
(self)
uvicorn/supervisors/multiprocess.py:214
↓ 2 callers
Method
load_app
Import the app and return it. Exits on failure.
uvicorn/config.py:431
↓ 2 callers
Method
main
(self)
uvicorn/lifespan/on.py:78
↓ 2 callers
Function
make_config
(app: ASGIApplication, **kwargs: Any)
tests/benchmarks/http.py:160
↓ 2 callers
Method
on_stream_closed
(self)
uvicorn/protocols/http/zttp_h2_impl.py:280
↓ 2 callers
Method
parse_responses
(self, data: bytes)
tests/protocols/test_http2.py:209
↓ 2 callers
Method
pause_writing
(self)
tests/protocols/test_websocket.py:1549
↓ 2 callers
Method
run_later
(self, with_delay: float)
tests/protocols/test_http2.py:134
↓ 2 callers
Method
selected_alpn_protocol
(self)
tests/protocols/test_http2.py:40
↓ 2 callers
Method
send_500_response
(self)
uvicorn/protocols/websockets/wsproto_impl.py:348
↓ 2 callers
Method
send_500_response
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:424
↓ 2 callers
Method
send_500_response
(self)
uvicorn/protocols/websockets/websockets_impl.py:228
↓ 2 callers
Method
send_ping
(self, flush: bool = True)
tests/protocols/test_websocket.py:1520
↓ 2 callers
Function
send_text
(url: str)
tests/protocols/test_websocket.py:336
↓ 2 callers
Method
shutdown
(self)
uvicorn/supervisors/basereload.py:102
↓ 2 callers
Method
shutdown
(self)
tests/protocols/test_websocket.py:1560
↓ 2 callers
Method
startup
(self)
uvicorn/supervisors/basereload.py:72
↓ 2 callers
Method
stop_keepalive
(self)
uvicorn/protocols/websockets/wsproto_impl.py:308
↓ 2 callers
Method
stop_keepalive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:333
↓ 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
↓ 2 callers
Function
ws_protocol_cls
(request: pytest.FixtureRequest)
tests/conftest.py:242
↓ 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
Function
_get_status_phrase
(status_code: int)
uvicorn/protocols/websockets/websockets_sansio_impl.py:46
↓ 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:207
↓ 1 callers
Function
_normalize_dirs
(dirs: list[str] | str | None)
uvicorn/config.py:187
↓ 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:92
↓ 1 callers
Method
_should_upgrade
(self)
uvicorn/protocols/http/zttp_impl.py:128
↓ 1 callers
Method
_should_upgrade
(self)
uvicorn/protocols/http/h11_impl.py:164
↓ 1 callers
Method
_unsupported_upgrade_warning
(self)
uvicorn/protocols/http/zttp_impl.py:120
↓ 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:313
↓ 1 callers
Method
abort_stream
Reset only this stream so sibling streams on the connection survive.
uvicorn/protocols/http/zttp_h2_impl.py:409
↓ 1 callers
Method
asgi
(self)
tests/protocols/test_websocket.py:63
↓ 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:332
↓ 1 callers
Method
close
(self)
tests/protocols/test_http.py:188
↓ 1 callers
Method
close
(self)
tests/protocols/test_http2.py:73
↓ 1 callers
Method
color_level_name
(self, level_name: str, level_no: int)
uvicorn/logging.py:45
↓ 1 callers
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/http/zttp_impl.py:75
↓ 1 callers
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/http/zttp_h2_impl.py:82
↓ 1 callers
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/http/httptools_impl.py:101
↓ 1 callers
Method
create_task
(self, coroutine: Any, **kwargs: Any)
tests/protocols/test_http2.py:122
↓ 1 callers
Method
data_received
(self, data: bytes)
uvicorn/protocols/http/zttp_impl.py:138
↓ 1 callers
Method
data_received
(self, data: bytes)
uvicorn/protocols/http/httptools_impl.py:170
↓ 1 callers
Method
data_received
(self, data: bytes)
uvicorn/protocols/http/auto_zttp_impl.py:68
↓ 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:682
↓ 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:283
↓ 1 callers
Method
handle_close
(self, event: events.CloseConnection)
uvicorn/protocols/websockets/wsproto_impl.py:273
↓ 1 callers
Method
handle_close
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:375
← previous
next →
101–200 of 939, ranked by callers