MCPcopy Create free account

hub / github.com/Kludex/uvicorn / functions

Functions777 in github.com/Kludex/uvicorn

Functionapp
(scope, receive, send)
tests/test_lifespan.py:14
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/supervisors/test_multiprocess.py:39
Functionapp
(scope, receive, send)
tests/supervisors/test_signal.py:96
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_message_logger.py:12
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_proxy_headers.py:588
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_logging.py:42
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:372
Functionapp
(scope: Scope)
tests/protocols/test_websocket.py:86
Functionapp_wrapper
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_websocket.py:1304
Functionasgi
(receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_config.py:290
Functionasgi
(receive, send)
tests/test_lifespan.py:191
Functionasgi
(receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:889
Functionasgi2_app
(scope: Scope)
tests/test_config.py:289
Functionasgi2app
(scope)
tests/test_lifespan.py:184
Functionasgi2app
(scope: Scope)
tests/protocols/test_http.py:888
Functionasgi3app
(scope, receive, send)
tests/test_lifespan.py:161
Functionasgi3app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:884
Functionasgi_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_config.py:44
Methodasgi_receive
(self)
uvicorn/protocols/websockets/websockets_impl.py:365
Methodasgi_send
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_impl.py:277
Methodasgi_version
(self)
uvicorn/config.py:365
Functionasyncio_loop_factory
(use_subprocess: bool = False)
uvicorn/loops/asyncio.py:8
Functionbad_factory
(config: Config, default_ssl_context_factory: DefaultFactory)
tests/test_ssl.py:194
Methodcall_later
(self, delay: float, callback: Callable[[], None], *args: Any)
tests/protocols/test_http.py:233
Functioncapture_signal_async
Replace `sig` handling with a normal exception via `asyncio
tests/test_server.py:40
Functioncapture_signal_sync
Replace `sig` handling with a normal exception via `signal
tests/test_server.py:31
Methodclear_buffer
(self)
tests/benchmarks/http.py:106
Methodconnection_lost
(self, exc: Exception | None)
uvicorn/protocols/http/zttp_impl.py:90
Methodconnection_lost
(self, exc: Exception | None)
uvicorn/protocols/http/httptools_impl.py:116
Methodconnection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/wsproto_impl.py:137
Methodconnection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/websockets_sansio_impl.py:126
Methodconnection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/websockets_impl.py:139
Methodconnection_made
(self, transport: asyncio.Transport)
uvicorn/protocols/websockets/wsproto_impl.py:126
Methodconnection_made
Called when a connection is made.
uvicorn/protocols/websockets/websockets_sansio_impl.py:113
Methodconnection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/websockets/websockets_impl.py:124
Functioncreate_app
()
tests/test_config.py:228
Methodcreate_protocol
( _loop: asyncio.AbstractEventLoop | None = None, )
uvicorn/server.py:113
Methoddata_received
(self, data: bytes)
uvicorn/protocols/websockets/wsproto_impl.py:154
Methoddata_received
(self, data: bytes)
uvicorn/protocols/websockets/websockets_sansio_impl.py:154
Methoddefault
(level_name: str)
uvicorn/logging.py:46
Methoddefault
(code: int)
uvicorn/logging.py:90
Functiondefault_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_proxy_headers.py:28
Methoddefault_factory
()
uvicorn/config.py:438
Functiondummy_app
(scope, receive, send)
tests/test_server.py:49
Functionecho_body
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:26
Methodeof_received
(self)
uvicorn/protocols/http/zttp_impl.py:107
Methodeof_received
(self)
uvicorn/protocols/http/httptools_impl.py:135
Methodeof_received
(self)
uvicorn/protocols/websockets/wsproto_impl.py:151
Methodeof_received
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:140
Methodexitcode
(self)
uvicorn/supervisors/multiprocess.py:137
Functionfail
(self: Server, sockets: object = None)
tests/test_main.py:100
Functionforever_app
(scope, receive, send)
tests/supervisors/test_signal.py:58
MethodformatMessage
(self, record: logging.LogRecord)
uvicorn/logging.py:55
Functionforwarded_allow_ips
(request: pytest.FixtureRequest)
tests/test_config.py:420
Methodget_extra_info
(self, key: Any)
tests/protocols/test_http.py:181
Methodget_extra_info
(self, name: str, default: Any = None)
tests/protocols/test_utils.py:34
Methodhandle_break
(self)
uvicorn/supervisors/multiprocess.py:259
Methodhandle_hup
(self)
uvicorn/supervisors/multiprocess.py:263
Methodhandle_int
(self)
uvicorn/supervisors/multiprocess.py:251
Methodhandle_term
(self)
uvicorn/supervisors/multiprocess.py:255
Methodhandle_ttin
(self)
uvicorn/supervisors/multiprocess.py:267
Methodhandle_ttou
(self)
uvicorn/supervisors/multiprocess.py:274
Functionhello_world
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:15
Methodinit_signals
(self)
uvicorn/workers.py:74
Methodinner_receive
()
uvicorn/middleware/message_logger.py:59
Methodinner_send
(message: "ASGISendEvent")
uvicorn/middleware/message_logger.py:68
Methodis_serving
(self)
uvicorn/protocols/websockets/websockets_impl.py:58
Methodis_ssl
(self)
uvicorn/config.py:374
Functionjson_logging_config
(logging_config: dict)
tests/test_config.py:35
Methodkeepalive_timeout
(self)
uvicorn/protocols/websockets/wsproto_impl.py:311
Methodkeepalive_timeout
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:318
Methodlimit_max_requests
(self)
uvicorn/server.py:71
Functionlogging_config
()
tests/conftest.py:177
Functionmocked_logging_config_module
(mocker: MockerFixture)
tests/test_config.py:30
Functionnew_console_in_windows
(test_function: Callable[[], Any])
tests/supervisors/test_multiprocess.py:19
Functionnew_function
()
tests/supervisors/test_multiprocess.py:24
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:205
Methodon_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/websockets_sansio_impl.py:353
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/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:183
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
← previousnext →301–400 of 777, ranked by callers