MCPcopy Create free account

hub / github.com/Kludex/uvicorn / functions

Functions959 in github.com/Kludex/uvicorn

Methodresume_reading
(self)
tests/protocols/test_http.py:196
Methodresume_reading
(self)
tests/protocols/test_websocket.py:1526
Methodresume_reading
(self)
tests/protocols/test_http2.py:82
Methodresume_reading
(self)
tests/benchmarks/http.py:100
Methodresume_writing
(self)
uvicorn/protocols/http/flow_control.py:36
Methodresume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/websockets/wsproto_impl.py:200
Methodresume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/websockets/websockets_sansio_impl.py:165
Functionreturn_exc_info
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:41
Functionrun
(sockets: list[socket.socket] | None)
tests/supervisors/test_reload.py:29
Methodrun
(self)
uvicorn/workers.py:103
Methodrun
(self)
uvicorn/supervisors/basereload.py:49
Methodsend
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_sansio_impl.py:439
Methodsend_keepalive_ping
(self)
uvicorn/protocols/websockets/wsproto_impl.py:322
Methodsend_keepalive_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:343
Methodserver
(self)
uvicorn/supervisors/multiprocess.py:127
Functionserver_run
(sockets: list[socket.socket])
tests/test_subprocess.py:11
Functionservice_unavailable
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
uvicorn/protocols/http/flow_control.py:42
Methodset_protocol
(self, protocol: asyncio.Protocol)
tests/protocols/test_http2.py:91
Methodsetup
(self, reload_directory_structure: Path, reloader_class: type[BaseReload] | None)
tests/supervisors/test_reload.py:61
Functionshort_socket_name
(tmp_path, tmp_path_factory)
tests/conftest.py:182
Methodshould_reload
(self)
uvicorn/config.py:616
Methodshould_restart
(self)
uvicorn/supervisors/statreload.py:28
Methodshould_restart
(self)
uvicorn/supervisors/watchfilesreload.py:79
Methodshould_use_colors
(self)
uvicorn/logging.py:52
Methodshould_use_colors
(self)
uvicorn/logging.py:69
Methodshutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/zttp_impl.py:289
Methodshutdown
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
Methodshutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/h11_impl.py:332
Methodshutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/httptools_impl.py:347
Methodshutdown
(self)
uvicorn/protocols/http/auto_zttp_impl.py:65
Methodshutdown
(self)
uvicorn/protocols/websockets/wsproto_impl.py:206
Methodshutdown
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:171
Methodshutdown
(self)
uvicorn/protocols/websockets/websockets_impl.py:152
Functionssl_context_factory
(config: Config, default_ssl_context_factory: DefaultFactory)
tests/test_ssl.py:114
Functionstart
(*paths: Path)
tests/supervisors/test_reload.py:43
Methodstart_response
( self, status: str, response_headers: Iterable[tuple[str, str]], exc_info: Ex
uvicorn/middleware/wsgi.py:157
Functionstdin_socket
()
tests/test_config.py:591
Methodtarget
(self, sockets: list[socket] | None = None)
uvicorn/supervisors/multiprocess.py:66
Functiontest_100_continue_not_sent_when_body_not_consumed
( http_protocol_cls: type[HTTPProtocol], )
tests/protocols/test_http.py:934
Functiontest_100_continue_sent_when_body_consumed
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:903
Functiontest_204_response_has_no_body
()
tests/protocols/test_http2.py:490
Functiontest_accept_connection
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:149
Functiontest_access_logging
( use_colors: bool, caplog: pytest.LogCaptureFixture, logging_config: dict[str, Any], unused_tcp_port: int
tests/middleware/test_logging.py:125
Functiontest_add_additional_header
(unused_tcp_port: int)
tests/test_default_headers.py:53
Functiontest_alpn_h2_selects_http2
()
tests/protocols/test_http2.py:1051
Functiontest_alpn_http11_selects_http1
()
tests/protocols/test_http2.py:1057
Functiontest_app_close
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int, code: in
tests/protocols/test_websocket.py:498
Functiontest_app_dir
(tmp_path: Path, caplog: pytest.LogCaptureFixture)
tests/test_cli.py:204
Functiontest_app_exception
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:657
Functiontest_app_exception_returns_500
()
tests/protocols/test_http2.py:505
Functiontest_app_factory
(caplog: pytest.LogCaptureFixture)
tests/test_config.py:238
Functiontest_app_returning_value_resets_stream
()
tests/protocols/test_http2.py:914
Functiontest_app_returning_without_response_returns_500
()
tests/protocols/test_http2.py:521
Functiontest_app_unimportable_module
()
tests/test_config.py:219
Functiontest_app_unimportable_other
(caplog: pytest.LogCaptureFixture)
tests/test_config.py:225
Functiontest_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
Functiontest_asgi_version
(app: ASGIApplication, expected_interface: Literal["2.0", "3.0"])
tests/test_config.py:315
Functiontest_asyncio_run__custom_loop_factory
()
tests/test_compat.py:21
Functiontest_asyncio_run__default_loop_factory
()
tests/test_compat.py:17
Functiontest_asyncio_run__passing_a_non_awaitable_callback_should_throw_error
()
tests/test_compat.py:25
Functiontest_base_reloader_closes_sockets_on_shutdown
()
tests/supervisors/test_reload.py:409
Functiontest_base_reloader_run
(tmp_path: Path)
tests/supervisors/test_reload.py:362
Functiontest_base_reloader_should_exit
(tmp_path: Path)
tests/supervisors/test_reload.py:393
Functiontest_bench_chunked_response
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:85
Functiontest_bench_connection_close
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:97
Functiontest_bench_fragmented_body
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:103
Functiontest_bench_http10
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:91
Functiontest_bench_keepalive_reuse
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:77
Functiontest_bench_large_post
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:63
Functiontest_bench_pipelined_requests
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:69
Functiontest_bench_post_body_receive
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:111
Functiontest_bench_simple_get
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:51
Functiontest_bench_simple_post
(http_protocol_cls: type[HTTPProtocol])
tests/benchmarks/test_http.py:57
Functiontest_bench_ws_handshake
(ws_cls: WSProtocolClass)
tests/benchmarks/test_ws.py:55
Functiontest_bench_ws_send_text
(ws_cls: WSProtocolClass)
tests/benchmarks/test_ws.py:61
Functiontest_bind_fd_works_with_reload_or_workers
(reload: bool, workers: int)
tests/test_config.py:577
Functiontest_bind_stdin_works_with_reload_or_workers
( reload: bool, workers: int, stdin_socket: socket.socket )
tests/test_config.py:612
Functiontest_bind_unix_socket_works_with_reload_or_workers
( tmp_path: Path, reload: bool, workers: int, short_socket_name: str )
tests/test_config.py:556
Functiontest_bodyless_request_receive
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:434
Functiontest_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
Functiontest_build_environ_encoding
()
tests/middleware/test_wsgi.py:114
Functiontest_can_disable_permessage_deflate_extension
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:194
Functiontest_chunked_encoding
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:568
Functiontest_chunked_encoding_empty_body
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:579
Functiontest_chunked_encoding_head_request
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:590
Functiontest_circular_import_error
()
tests/importer/test_importer.py:46
Functiontest_cli_call_change_reload_run
()
tests/test_cli.py:98
Functiontest_cli_call_multiprocess_run
()
tests/test_cli.py:110
Functiontest_cli_call_server_run
()
tests/test_cli.py:88
Functiontest_cli_event_size
()
tests/test_cli.py:157
Functiontest_cli_headers
()
tests/test_cli.py:53
Functiontest_cli_http2
()
tests/test_cli.py:172
Functiontest_cli_incomplete_app_parameter
()
tests/test_cli.py:146
Functiontest_cli_invalid_header
(header: str)
tests/test_cli.py:68
Functiontest_cli_print_version
()
tests/test_cli.py:37
Functiontest_cli_rejects_negative_limit_max_requests_jitter
()
tests/test_cli.py:77
Functiontest_cli_uds
(uds_file: Path)
tests/test_cli.py:132
Functiontest_client_close
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:534
Functiontest_client_connection_lost
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:562
Functiontest_client_connection_lost_on_send
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:595
← previousnext →501–600 of 959, ranked by callers