Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
959 in github.com/Kludex/uvicorn
⨍
Functions
959
◇
Types & classes
102
↳
Endpoints
2
Method
resume_reading
(self)
tests/protocols/test_http.py:196
Method
resume_reading
(self)
tests/protocols/test_websocket.py:1526
Method
resume_reading
(self)
tests/protocols/test_http2.py:82
Method
resume_reading
(self)
tests/benchmarks/http.py:100
Method
resume_writing
(self)
uvicorn/protocols/http/flow_control.py:36
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/websockets/wsproto_impl.py:200
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/websockets/websockets_sansio_impl.py:165
Function
return_exc_info
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:41
Function
run
(sockets: list[socket.socket] | None)
tests/supervisors/test_reload.py:29
Method
run
(self)
uvicorn/workers.py:103
Method
run
(self)
uvicorn/supervisors/basereload.py:49
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_sansio_impl.py:439
Method
send_keepalive_ping
(self)
uvicorn/protocols/websockets/wsproto_impl.py:322
Method
send_keepalive_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:343
Method
server
(self)
uvicorn/supervisors/multiprocess.py:127
Function
server_run
(sockets: list[socket.socket])
tests/test_subprocess.py:11
Function
service_unavailable
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
uvicorn/protocols/http/flow_control.py:42
Method
set_protocol
(self, protocol: asyncio.Protocol)
tests/protocols/test_http2.py:91
Method
setup
(self, reload_directory_structure: Path, reloader_class: type[BaseReload] | None)
tests/supervisors/test_reload.py:61
Function
short_socket_name
(tmp_path, tmp_path_factory)
tests/conftest.py:182
Method
should_reload
(self)
uvicorn/config.py:616
Method
should_restart
(self)
uvicorn/supervisors/statreload.py:28
Method
should_restart
(self)
uvicorn/supervisors/watchfilesreload.py:79
Method
should_use_colors
(self)
uvicorn/logging.py:52
Method
should_use_colors
(self)
uvicorn/logging.py:69
Method
shutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/zttp_impl.py:289
Method
shutdown
Called by the server to commence a graceful shutdown. Closes immediately when idle; otherwise new streams are refused with 5
uvicorn/protocols/http/zttp_h2_impl.py:309
Method
shutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/h11_impl.py:332
Method
shutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/httptools_impl.py:347
Method
shutdown
(self)
uvicorn/protocols/http/auto_zttp_impl.py:65
Method
shutdown
(self)
uvicorn/protocols/websockets/wsproto_impl.py:206
Method
shutdown
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:171
Method
shutdown
(self)
uvicorn/protocols/websockets/websockets_impl.py:152
Function
ssl_context_factory
(config: Config, default_ssl_context_factory: DefaultFactory)
tests/test_ssl.py:114
Function
start
(*paths: Path)
tests/supervisors/test_reload.py:43
Method
start_response
( self, status: str, response_headers: Iterable[tuple[str, str]], exc_info: Ex
uvicorn/middleware/wsgi.py:157
Function
stdin_socket
()
tests/test_config.py:591
Method
target
(self, sockets: list[socket] | None = None)
uvicorn/supervisors/multiprocess.py:66
Function
test_100_continue_not_sent_when_body_not_consumed
( http_protocol_cls: type[HTTPProtocol], )
tests/protocols/test_http.py:934
Function
test_100_continue_sent_when_body_consumed
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:903
Function
test_204_response_has_no_body
()
tests/protocols/test_http2.py:490
Function
test_accept_connection
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:149
Function
test_access_logging
( use_colors: bool, caplog: pytest.LogCaptureFixture, logging_config: dict[str, Any], unused_tcp_port: int
tests/middleware/test_logging.py:125
Function
test_add_additional_header
(unused_tcp_port: int)
tests/test_default_headers.py:53
Function
test_alpn_h2_selects_http2
()
tests/protocols/test_http2.py:1051
Function
test_alpn_http11_selects_http1
()
tests/protocols/test_http2.py:1057
Function
test_app_close
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int, code: in
tests/protocols/test_websocket.py:498
Function
test_app_dir
(tmp_path: Path, caplog: pytest.LogCaptureFixture)
tests/test_cli.py:204
Function
test_app_exception
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:657
Function
test_app_exception_returns_500
()
tests/protocols/test_http2.py:505
Function
test_app_factory
(caplog: pytest.LogCaptureFixture)
tests/test_config.py:238
Function
test_app_returning_value_resets_stream
()
tests/protocols/test_http2.py:914
Function
test_app_returning_without_response_returns_500
()
tests/protocols/test_http2.py:521
Function
test_app_unimportable_module
()
tests/test_config.py:219
Function
test_app_unimportable_other
(caplog: pytest.LogCaptureFixture)
tests/test_config.py:225
Function
test_asgi_return_value
The ASGI callable should return 'None'. If it doesn't, make sure that the connection is closed with an error condition.
tests/protocols/test_websocket.py:457
Function
test_asgi_version
(app: ASGIApplication, expected_interface: Literal["2.0", "3.0"])
tests/test_config.py:315
Function
test_asyncio_run__custom_loop_factory
()
tests/test_compat.py:21
Function
test_asyncio_run__default_loop_factory
()
tests/test_compat.py:17
Function
test_asyncio_run__passing_a_non_awaitable_callback_should_throw_error
()
tests/test_compat.py:25
Function
test_base_reloader_closes_sockets_on_shutdown
()
tests/supervisors/test_reload.py:409
Function
test_base_reloader_run
(tmp_path: Path)
tests/supervisors/test_reload.py:362
Function
test_base_reloader_should_exit
(tmp_path: Path)
tests/supervisors/test_reload.py:393
Function
test_bench_chunked_response
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:85
Function
test_bench_connection_close
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:97
Function
test_bench_fragmented_body
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:103
Function
test_bench_http10
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:91
Function
test_bench_keepalive_reuse
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:77
Function
test_bench_large_post
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:63
Function
test_bench_pipelined_requests
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:69
Function
test_bench_post_body_receive
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:111
Function
test_bench_simple_get
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:51
Function
test_bench_simple_post
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:57
Function
test_bench_ws_handshake
(ws_cls: WSProtocolClass)
tests/benchmarks/test_ws.py:55
Function
test_bench_ws_send_text
(ws_cls: WSProtocolClass)
tests/benchmarks/test_ws.py:61
Function
test_bind_fd_works_with_reload_or_workers
(reload: bool, workers: int)
tests/test_config.py:577
Function
test_bind_stdin_works_with_reload_or_workers
( reload: bool, workers: int, stdin_socket: socket.socket )
tests/test_config.py:612
Function
test_bind_unix_socket_works_with_reload_or_workers
( tmp_path: Path, reload: bool, workers: int, short_socket_name: str )
tests/test_config.py:556
Function
test_bodyless_request_receive
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:434
Function
test_bodyless_response_with_transfer_encoding
RFC 9112 §6.1 forbids `Transfer-Encoding` on a 204, which zttp refuses to serialize.
tests/protocols/test_http.py:558
Function
test_build_environ_encoding
()
tests/middleware/test_wsgi.py:114
Function
test_can_disable_permessage_deflate_extension
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:194
Function
test_chunked_encoding
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:568
Function
test_chunked_encoding_empty_body
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:579
Function
test_chunked_encoding_head_request
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:590
Function
test_circular_import_error
()
tests/importer/test_importer.py:46
Function
test_cli_call_change_reload_run
()
tests/test_cli.py:98
Function
test_cli_call_multiprocess_run
()
tests/test_cli.py:110
Function
test_cli_call_server_run
()
tests/test_cli.py:88
Function
test_cli_event_size
()
tests/test_cli.py:157
Function
test_cli_headers
()
tests/test_cli.py:53
Function
test_cli_http2
()
tests/test_cli.py:172
Function
test_cli_incomplete_app_parameter
()
tests/test_cli.py:146
Function
test_cli_invalid_header
(header: str)
tests/test_cli.py:68
Function
test_cli_print_version
()
tests/test_cli.py:37
Function
test_cli_rejects_negative_limit_max_requests_jitter
()
tests/test_cli.py:77
Function
test_cli_uds
(uds_file: Path)
tests/test_cli.py:132
Function
test_client_close
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:534
Function
test_client_connection_lost
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:562
Function
test_client_connection_lost_on_send
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:595
← previous
next →
501–600 of 959, ranked by callers