MCPcopy Create free account

hub / github.com/Kludex/uvicorn / functions

Functions777 in github.com/Kludex/uvicorn

Methodreceive
(self)
uvicorn/protocols/http/zttp_impl.py:521
Methodreceive
(self)
uvicorn/protocols/http/h11_impl.py:527
Methodreceive
(self)
uvicorn/protocols/http/httptools_impl.py:563
Methodreceive
(self)
uvicorn/protocols/websockets/wsproto_impl.py:464
Methodreceive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:487
Methodregister
(self, ws: WebSocketServerProtocol)
uvicorn/protocols/websockets/websockets_impl.py:52
Functionreload_directory_structure
This fixture creates a directory structure to enable reload parameter tests The fixture has the following structure: root ├── [app,
tests/conftest.py:111
Methodrestart
(self)
uvicorn/supervisors/statreload.py:45
Methodresume_reading
(self)
tests/protocols/test_http.py:195
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:189
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
Methodsend
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_sansio_impl.py:380
Methodsend_keepalive_ping
(self)
uvicorn/protocols/websockets/wsproto_impl.py:298
Methodsend_keepalive_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:303
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_http.py:204
Methodsetup
(self, reload_directory_structure: Path, reloader_class: type[BaseReload] | None)
tests/supervisors/test_reload.py:56
Functionshort_socket_name
(tmp_path, tmp_path_factory)
tests/conftest.py:182
Methodshould_reload
(self)
uvicorn/config.py:600
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:287
Methodshutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/h11_impl.py:341
Methodshutdown
Called by the server to commence a graceful shutdown.
uvicorn/protocols/http/httptools_impl.py:349
Methodshutdown
(self)
uvicorn/protocols/websockets/wsproto_impl.py:195
Methodshutdown
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:143
Methodshutdown
(self)
uvicorn/protocols/websockets/websockets_impl.py:152
Functionsleep_touch
(*paths: Path)
tests/supervisors/test_reload.py:33
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:565
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:814
Functiontest_100_continue_sent_when_body_consumed
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:783
Functiontest_accept_connection
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:115
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_app_close
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int, code: in
tests/protocols/test_websocket.py:464
Functiontest_app_dir
(tmp_path: Path, caplog: pytest.LogCaptureFixture)
tests/test_cli.py:173
Functiontest_app_exception
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:537
Functiontest_app_factory
(caplog: pytest.LogCaptureFixture)
tests/test_config.py:227
Functiontest_app_unimportable_module
()
tests/test_config.py:208
Functiontest_app_unimportable_other
(caplog: pytest.LogCaptureFixture)
tests/test_config.py:214
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:423
Functiontest_asgi_version
(app: ASGIApplication, expected_interface: Literal["2.0", "3.0"])
tests/test_config.py:297
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:404
Functiontest_base_reloader_run
(tmp_path: Path)
tests/supervisors/test_reload.py:357
Functiontest_base_reloader_should_exit
(tmp_path: Path)
tests/supervisors/test_reload.py:388
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:551
Functiontest_bind_stdin_works_with_reload_or_workers
( reload: bool, workers: int, stdin_socket: socket.socket )
tests/test_config.py:586
Functiontest_bind_unix_socket_works_with_reload_or_workers
( tmp_path: Path, reload: bool, workers: int, short_socket_name: str )
tests/test_config.py:530
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:160
Functiontest_chunked_encoding
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:448
Functiontest_chunked_encoding_empty_body
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:459
Functiontest_chunked_encoding_head_request
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:470
Functiontest_circular_import_error
()
tests/importer/test_importer.py:46
Functiontest_cli_call_change_reload_run
()
tests/test_cli.py:80
Functiontest_cli_call_multiprocess_run
()
tests/test_cli.py:92
Functiontest_cli_call_server_run
()
tests/test_cli.py:70
Functiontest_cli_event_size
()
tests/test_cli.py:139
Functiontest_cli_headers
()
tests/test_cli.py:53
Functiontest_cli_incomplete_app_parameter
()
tests/test_cli.py:128
Functiontest_cli_print_version
()
tests/test_cli.py:37
Functiontest_cli_uds
(uds_file: Path)
tests/test_cli.py:114
Functiontest_client_close
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:500
Functiontest_client_connection_lost
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:528
Functiontest_client_connection_lost_on_send
( ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int )
tests/protocols/test_websocket.py:561
Functiontest_close
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:438
Functiontest_close_connection
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:187
Functiontest_close_connection_with_multiple_requests
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:1059
Functiontest_close_connection_with_post_request
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:1073
Functiontest_close_transport_on_asgi_return
The ASGI callable should call the `websocket.close` event. If it doesn't, the server should still send a close frame to the client.
tests/protocols/test_websocket.py:441
Functiontest_concrete_http_class
()
tests/test_config.py:251
Functiontest_config_access_log
(access_log: bool, handlers: int)
tests/test_config.py:455
Functiontest_config_log_effective_level
(log_level: int, uvicorn_logger_level: int)
tests/test_config.py:476
← previousnext →401–500 of 777, ranked by callers