MCPcopy Create free account

hub / github.com/Kludex/uvicorn / functions

Functions820 in github.com/Kludex/uvicorn

Methodon_body
(self, body: bytes)
uvicorn/protocols/http/httptools_impl.py:313
Methodon_header
(self, name: bytes, value: bytes)
uvicorn/protocols/http/httptools_impl.py:242
Methodon_headers_complete
(self)
uvicorn/protocols/http/httptools_impl.py:248
Methodon_message_begin
(self)
uvicorn/protocols/http/httptools_impl.py:222
Methodon_message_complete
(self)
uvicorn/protocols/http/httptools_impl.py:321
Methodon_response_complete
(self)
uvicorn/protocols/http/zttp_impl.py:266
Methodon_response_complete
(self)
uvicorn/protocols/http/h11_impl.py:322
Methodon_response_complete
(self)
uvicorn/protocols/http/httptools_impl.py:327
Methodon_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/wsproto_impl.py:222
Methodon_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/websockets_sansio_impl.py:404
Methodon_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/websockets_impl.py:160
Methodon_url
(self, url: bytes)
uvicorn/protocols/http/httptools_impl.py:239
Methodpause_reading
(self)
tests/protocols/test_http.py:192
Methodpause_reading
(self)
tests/protocols/test_websocket.py:1467
Methodpause_reading
(self)
tests/benchmarks/http.py:97
Methodpause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/http/zttp_impl.py:296
Methodpause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/http/h11_impl.py:352
Methodpause_writing
(self)
uvicorn/protocols/http/flow_control.py:31
Methodpause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/http/httptools_impl.py:358
Methodpause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/websockets/wsproto_impl.py:194
Methodpause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/websockets/websockets_sansio_impl.py:165
Methodpid
(self)
uvicorn/supervisors/multiprocess.py:133
Functionprint_version
(ctx: click.Context, param: click.Parameter, value: bool)
uvicorn/main.py:47
Methodprocess_request
This hook is called to determine if the websocket should return an HTTP response and close. Our behavior here is to start th
uvicorn/protocols/websockets/websockets_impl.py:163
Methodprocess_subprotocol
We override the standard 'process_subprotocol' behavior here so that we return whatever subprotocol is sent in the 'accept' message.
uvicorn/protocols/websockets/websockets_impl.py:219
Functionraise_exception
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:37
Methodreading_paused
(self)
tests/protocols/test_websocket.py:1570
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:495
Methodreceive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:550
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/protocols/test_websocket.py:1470
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:171
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:432
Methodsend_keepalive_ping
(self)
uvicorn/protocols/websockets/wsproto_impl.py:322
Methodsend_keepalive_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:347
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:206
Methodshutdown
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:177
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:824
Functiontest_100_continue_sent_when_body_consumed
(http_protocol_cls: type[HTTPProtocol])
tests/protocols/test_http.py:793
Functiontest_accept_connection
(ws_protocol_cls: WSProtocol, http_protocol_cls: HTTPProtocol, unused_tcp_port: int)
tests/protocols/test_websocket.py:119
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:468
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:547
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:427
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
← previousnext →401–500 of 820, ranked by callers