Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
820 in github.com/Kludex/uvicorn
⨍
Functions
820
◇
Types & classes
88
↳
Endpoints
1
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:130
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
Function
accept_then_close_app
Accept the connection and immediately start the closing handshake.
tests/protocols/test_websocket.py:1597
Method
add_done_callback
(self, callback: Callable[[], None])
tests/protocols/test_http.py:252
Method
always_pong
(self)
uvicorn/supervisors/multiprocess.py:62
Function
anyio_backend
()
tests/conftest.py:172
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_default_headers.py:13
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_subprocess.py:15
Function
app
(scope, receive, send)
tests/test_auto_detection.py:32
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_main.py:22
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_server.py:53
Function
app
(scope, receive, send)
tests/test_lifespan.py:14
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/supervisors/test_multiprocess.py:39
Function
app
(scope, receive, send)
tests/supervisors/test_signal.py:96
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_message_logger.py:12
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_proxy_headers.py:588
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_logging.py:42
Function
app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:372
Function
app
(scope: Scope)
tests/protocols/test_websocket.py:90
Function
app_wrapper
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_websocket.py:1361
Function
asgi
(receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_config.py:290
Function
asgi
(receive, send)
tests/test_lifespan.py:191
Function
asgi
(receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:899
Function
asgi2_app
(scope: Scope)
tests/test_config.py:289
Function
asgi2app
(scope)
tests/test_lifespan.py:184
Function
asgi2app
(scope: Scope)
tests/protocols/test_http.py:898
Function
asgi3app
(scope, receive, send)
tests/test_lifespan.py:161
Function
asgi3app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:894
Function
asgi_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_config.py:44
Method
asgi_receive
(self)
uvicorn/protocols/websockets/websockets_impl.py:365
Method
asgi_send
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_impl.py:277
Method
asgi_version
(self)
uvicorn/config.py:365
Function
asyncio_loop_factory
(use_subprocess: bool = False)
uvicorn/loops/asyncio.py:8
Method
awaiting_close_reply
(self)
tests/protocols/test_websocket.py:1574
Function
bad_factory
(config: Config, default_ssl_context_factory: DefaultFactory)
tests/test_ssl.py:194
Method
call_later
(self, delay: float, callback: Callable[[], None], *args: Any)
tests/protocols/test_http.py:233
Function
capture_signal_async
Replace `sig` handling with a normal exception via `asyncio
tests/test_server.py:40
Function
capture_signal_sync
Replace `sig` handling with a normal exception via `signal
tests/test_server.py:31
Method
clear_buffer
(self)
tests/benchmarks/http.py:106
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/http/zttp_impl.py:90
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/http/h11_impl.py:107
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/http/httptools_impl.py:116
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/wsproto_impl.py:140
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/websockets_sansio_impl.py:141
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/websockets_impl.py:139
Method
connection_made
(self, transport: asyncio.Transport)
uvicorn/protocols/websockets/wsproto_impl.py:129
Method
connection_made
Called when a connection is made.
uvicorn/protocols/websockets/websockets_sansio_impl.py:128
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/websockets/websockets_impl.py:124
Function
create_app
()
tests/test_config.py:228
Method
create_protocol
( _loop: asyncio.AbstractEventLoop | None = None, )
uvicorn/server.py:113
Method
data_received
(self, data: bytes)
uvicorn/protocols/websockets/wsproto_impl.py:163
Method
data_received
(self, data: bytes)
uvicorn/protocols/websockets/websockets_sansio_impl.py:194
Method
default
(level_name: str)
uvicorn/logging.py:46
Method
default
(code: int)
uvicorn/logging.py:90
Function
default_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/middleware/test_proxy_headers.py:28
Method
default_factory
()
uvicorn/config.py:438
Function
dummy_app
(scope, receive, send)
tests/test_server.py:49
Function
echo_body
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:26
Method
eof_received
(self)
uvicorn/protocols/http/zttp_impl.py:107
Method
eof_received
(self)
uvicorn/protocols/http/httptools_impl.py:135
Method
eof_received
(self)
uvicorn/protocols/websockets/wsproto_impl.py:160
Method
eof_received
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:162
Method
exitcode
(self)
uvicorn/supervisors/multiprocess.py:137
Function
fail
(self: Server, sockets: object = None)
tests/test_main.py:100
Function
forever_app
(scope, receive, send)
tests/supervisors/test_signal.py:58
Method
formatMessage
(self, record: logging.LogRecord)
uvicorn/logging.py:55
Function
forwarded_allow_ips
(request: pytest.FixtureRequest)
tests/test_config.py:420
Method
get_extra_info
(self, key: Any)
tests/protocols/test_http.py:181
Method
get_extra_info
(self, name: str, default: Any = None)
tests/protocols/test_websocket.py:1455
Method
get_extra_info
(self, name: str, default: Any = None)
tests/protocols/test_utils.py:34
Method
handle_break
(self)
uvicorn/supervisors/multiprocess.py:259
Method
handle_hup
(self)
uvicorn/supervisors/multiprocess.py:263
Method
handle_int
(self)
uvicorn/supervisors/multiprocess.py:251
Method
handle_term
(self)
uvicorn/supervisors/multiprocess.py:255
Method
handle_ttin
(self)
uvicorn/supervisors/multiprocess.py:267
Method
handle_ttou
(self)
uvicorn/supervisors/multiprocess.py:274
Function
hello_world
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:15
Method
init_signals
(self)
uvicorn/workers.py:74
Method
inner_receive
()
uvicorn/middleware/message_logger.py:59
Method
inner_send
(message: "ASGISendEvent")
uvicorn/middleware/message_logger.py:68
Method
is_serving
(self)
uvicorn/protocols/websockets/websockets_impl.py:58
Method
is_ssl
(self)
uvicorn/config.py:374
Function
json_logging_config
(logging_config: dict)
tests/test_config.py:35
Method
keepalive_timeout
(self)
uvicorn/protocols/websockets/wsproto_impl.py:335
Method
keepalive_timeout
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:362
Method
limit_max_requests
(self)
uvicorn/server.py:71
Function
logging_config
()
tests/conftest.py:177
Function
mocked_logging_config_module
(mocker: MockerFixture)
tests/test_config.py:30
Function
new_console_in_windows
(test_function: Callable[[], Any])
tests/supervisors/test_multiprocess.py:19
Function
new_function
()
tests/supervisors/test_multiprocess.py:24
← previous
next →
301–400 of 820, ranked by callers