MCPcopy Create free account

hub / github.com/Kludex/uvicorn / functions

Functions752 in github.com/Kludex/uvicorn

↓ 1 callersMethodshould_restart
(self)
uvicorn/supervisors/basereload.py:116
↓ 1 callersMethodshould_restart
(self)
tests/supervisors/test_reload.py:371
↓ 1 callersMethodshutdown
(self)
uvicorn/lifespan/off.py:16
↓ 1 callersMethodshutdown
(self)
uvicorn/lifespan/on.py:64
↓ 1 callersMethodsignal_handler
A signal handler that is registered with the parent process.
uvicorn/supervisors/basereload.py:40
↓ 1 callersMethodstart_keepalive
(self)
uvicorn/protocols/websockets/wsproto_impl.py:280
↓ 1 callersMethodstart_keepalive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:277
↓ 1 callersMethodstartup
(self, sockets: list[socket.socket] | None = None)
uvicorn/server.py:103
↓ 1 callersMethodstartup
(self)
uvicorn/lifespan/off.py:13
↓ 1 callersMethodstartup
(self)
uvicorn/lifespan/on.py:47
↓ 1 callersMethodstartup
(self)
tests/supervisors/test_reload.py:362
↓ 1 callersFunctionsubprocess_started
Called when the child process starts. * config - The Uvicorn configuration instance. * target - A callable that accepts a list of socket
uvicorn/_subprocess.py:54
↓ 1 callersMethodto_message
(self)
uvicorn/protocols/websockets/wsproto_impl.py:61
↓ 1 callersFunctiontouch_soon
()
tests/supervisors/test_reload.py:40
↓ 1 callersFunctionuvloop_loop_factory
(use_subprocess: bool = False)
uvicorn/loops/uvloop.py:9
↓ 1 callersFunctionws_protocol_cls
(request: pytest.FixtureRequest)
tests/conftest.py:242
↓ 1 callersFunctionwsresponse
A simple websocket connection request and response helper
tests/protocols/test_websocket.py:69
Method__await__
(self)
tests/protocols/test_websocket.py:55
Method__call__
(self, receive: ASGIReceiveCallable, send: ASGISendCallable)
uvicorn/_types.py:269
Method__call__
(self, path: Path)
uvicorn/supervisors/watchfilesreload.py:37
Method__call__
( self, scope: "WWWScope", receive: "ASGIReceiveCallable", send: "ASGISendCall
uvicorn/middleware/message_logger.py:47
Method__call__
( self, scope: HTTPScope, receive: ASGIReceiveCallable, send: ASGISendCallable
uvicorn/middleware/wsgi.py:91
Method__call__
(self, receive: ASGIReceiveCallable, send: ASGISendCallable)
uvicorn/middleware/wsgi.py:120
Method__call__
(self, scope: "Scope", receive: "ASGIReceiveCallable", send: "ASGISendCallable")
uvicorn/middleware/asgi2.py:13
Method__call__
(self, scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
uvicorn/middleware/proxy_headers.py:28
Method__call__
(self, scope, receive, send)
tests/response.py:12
Method__contains__
(self, host: str | None)
uvicorn/middleware/proxy_headers.py:149
Function__getattr__
(name: str)
uvicorn/main.py:632
Method__init__
( self, app: ASGIApplication | Callable[..., Any] | str, host: str = "127.0.0.1",
uvicorn/config.py:191
Method__init__
( self, fmt: str | None = None, datefmt: str | None = None, style: Literal["%"
uvicorn/logging.py:32
Method__init__
(self, scope: Scope)
uvicorn/_types.py:267
Method__init__
(self, *args: Any, **kwargs: Any)
uvicorn/workers.py:32
Method__init__
(self)
uvicorn/server.py:48
Method__init__
(self, config: Config)
uvicorn/server.py:56
Method__init__
( self, config: Config, sockets: list[socket], )
uvicorn/supervisors/multiprocess.py:27
Method__init__
( self, config: Config, sockets: list[socket], )
uvicorn/supervisors/multiprocess.py:142
Method__init__
( self, config: Config, target: Callable[[list[socket] | None], None], sockets
uvicorn/supervisors/statreload.py:15
Method__init__
( self, config: Config, target: Callable[[list[socket] | None], None], sockets
uvicorn/supervisors/watchfilesreload.py:56
Method__init__
( self, config: Config, target: Callable[[list[socket] | None], None], sockets
uvicorn/supervisors/basereload.py:26
Method__init__
(self, app: "ASGI3Application")
uvicorn/middleware/message_logger.py:37
Method__init__
(self, app: WSGIApp, workers: int = 10)
uvicorn/middleware/wsgi.py:83
Method__init__
( self, app: WSGIApp, executor: concurrent.futures.ThreadPoolExecutor, scope:
uvicorn/middleware/wsgi.py:103
Method__init__
(self, app: "ASGI2Application")
uvicorn/middleware/asgi2.py:10
Method__init__
(self, app: ASGI3Application, trusted_hosts: list[str] | str = "127.0.0.1")
uvicorn/middleware/proxy_headers.py:24
Method__init__
(self, trusted_hosts: list[str] | str)
uvicorn/middleware/proxy_headers.py:108
Method__init__
( self, config: Config, server_state: ServerState, app_state: dict[str, Any],
uvicorn/protocols/http/h11_impl.py:42
Method__init__
( self, scope: HTTPScope, conn: h11.Connection, transport: asyncio.Transport,
uvicorn/protocols/http/h11_impl.py:376
Method__init__
(self, transport: asyncio.Transport)
uvicorn/protocols/http/flow_control.py:11
Method__init__
( self, config: Config, server_state: ServerState, app_state: dict[str, Any],
uvicorn/protocols/http/httptools_impl.py:46
Method__init__
( self, scope: HTTPScope, transport: asyncio.Transport, flow: FlowControl,
uvicorn/protocols/http/httptools_impl.py:380
Method__init__
(self, max_length: int)
uvicorn/protocols/websockets/wsproto_impl.py:43
Method__init__
( self, config: Config, server_state: ServerState, app_state: dict[str, Any],
uvicorn/protocols/websockets/wsproto_impl.py:69
Method__init__
( self, config: Config, server_state: ServerState, app_state: dict[str, Any],
uvicorn/protocols/websockets/websockets_sansio_impl.py:44
Method__init__
( self, config: Config, server_state: ServerState, app_state: dict[str, Any],
uvicorn/protocols/websockets/websockets_impl.py:65
Method__init__
(self, config: Config)
uvicorn/lifespan/off.py:9
Method__init__
(self, config: Config)
uvicorn/lifespan/on.py:32
Method__init__
(self, content, status_code=200, headers=None, media_type=None)
tests/response.py:4
Method__init__
( self, sockname: tuple[str, int] | None = None, peername: tuple[str, int] | None = None, sslcontext:
tests/protocols/test_http.py:171
Method__init__
( self, loop_later_list: list[MockTimerHandle], delay: float, callback: Callable[[], None], args: tupl
tests/protocols/test_http.py:209
Method__init__
(self)
tests/protocols/test_http.py:225
Method__init__
(self, scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_websocket.py:50
Method__init__
( self, family: socket.AddressFamily, peername: tuple[str, int] | None = None,
tests/protocols/test_utils.py:13
Method__init__
(self, info: dict[str, Any])
tests/protocols/test_utils.py:31
Method__init__
(self)
tests/benchmarks/http.py:79
Method__init__
( self, loop_later_list: list[MockTimerHandle], delay: float, callback: Callable[[], None], args: tupl
tests/benchmarks/http.py:114
Method__init__
(self)
tests/benchmarks/http.py:130
Method__iter__
(self)
uvicorn/supervisors/basereload.py:66
Method__next__
(self)
uvicorn/supervisors/basereload.py:69
Function_body_echo_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/benchmarks/test_http.py:36
Function_has_ipv6
(host: str)
tests/test_main.py:28
Function_metavar_from_type
(_type: Any)
uvicorn/main.py:40
Function_noop_receive
()
tests/middleware/test_proxy_headers.py:576
Function_noop_send
(message: ASGISendEvent)
tests/middleware/test_proxy_headers.py:580
Method_share_socket
( sock: socket.SocketType, )
uvicorn/server.py:127
Function_ws_accept_close_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/benchmarks/test_ws.py:38
Function_ws_send_text_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/benchmarks/test_ws.py:44
Methodadd_done_callback
(self, callback: Callable[[], None])
tests/protocols/test_http.py:252
Methodalways_pong
(self)
uvicorn/supervisors/multiprocess.py:62
Functionanyio_backend
()
tests/conftest.py:172
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_default_headers.py:13
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_subprocess.py:15
Functionapp
(scope, receive, send)
tests/test_auto_detection.py:32
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_main.py:22
Functionapp
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_server.py:53
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:85
Functionapp_wrapper
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_websocket.py:1296
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:884
Functionasgi2_app
(scope: Scope)
tests/test_config.py:289
Functionasgi2app
(scope)
tests/test_lifespan.py:184
Functionasgi2app
(scope: Scope)
tests/protocols/test_http.py:883
Functionasgi3app
(scope, receive, send)
tests/test_lifespan.py:161
← previousnext →201–300 of 752, ranked by callers