Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
939 in github.com/Kludex/uvicorn
⨍
Functions
939
◇
Types & classes
99
↳
Endpoints
1
↓ 1 callers
Method
handle_connect
(self, event: events.Request)
uvicorn/protocols/websockets/wsproto_impl.py:227
↓ 1 callers
Method
handle_connect
(self, event: Request)
uvicorn/protocols/websockets/websockets_sansio_impl.py:223
↓ 1 callers
Method
handle_cont
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:272
↓ 1 callers
Method
handle_events
(self)
uvicorn/protocols/http/zttp_h2_impl.py:163
↓ 1 callers
Method
handle_events
(self)
uvicorn/protocols/websockets/wsproto_impl.py:177
↓ 1 callers
Method
handle_events
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:201
↓ 1 callers
Method
handle_message
(self, event: events.TextMessage | events.BytesMessage)
uvicorn/protocols/websockets/wsproto_impl.py:255
↓ 1 callers
Method
handle_ping
(self, event: events.Ping)
uvicorn/protocols/websockets/wsproto_impl.py:286
↓ 1 callers
Method
handle_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:310
↓ 1 callers
Method
handle_pong
(self, event: events.Pong)
uvicorn/protocols/websockets/wsproto_impl.py:289
↓ 1 callers
Method
handle_pong
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:314
↓ 1 callers
Method
handle_request
(self, event: zttp.Request)
uvicorn/protocols/http/zttp_h2_impl.py:193
↓ 1 callers
Method
handle_rst_stream
(self, event: zttp.RstStream)
uvicorn/protocols/http/zttp_h2_impl.py:257
↓ 1 callers
Method
handle_text
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:277
↓ 1 callers
Method
handle_websocket_upgrade
(self, event: zttp.Request)
uvicorn/protocols/http/zttp_impl.py:234
↓ 1 callers
Method
handle_websocket_upgrade
(self, event: h11.Request)
uvicorn/protocols/http/h11_impl.py:280
↓ 1 callers
Method
handle_websocket_upgrade
(self)
uvicorn/protocols/http/httptools_impl.py:186
↓ 1 callers
Function
interrupt_running
(srv: Server)
tests/test_server.py:76
↓ 1 callers
Function
is_dir
(path: Path)
uvicorn/config.py:142
↓ 1 callers
Method
iter_py_files
(self)
uvicorn/supervisors/statreload.py:49
↓ 1 callers
Function
lifespan_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_websocket.py:1339
↓ 1 callers
Function
main
( app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str,
uvicorn/main.py:395
↓ 1 callers
Method
main_loop
(self)
uvicorn/server.py:242
↓ 1 callers
Function
make_tmp_dir
(base_dir)
tests/conftest.py:196
↓ 1 callers
Method
on_tick
(self, counter: int)
uvicorn/server.py:251
↓ 1 callers
Function
open_connection
(url: str)
tests/middleware/test_logging.py:103
↓ 1 callers
Method
pause_reading
(self)
tests/protocols/test_http2.py:77
↓ 1 callers
Function
ping_sent
()
tests/protocols/test_websocket.py:1406
↓ 1 callers
Method
pong
Receives one healthcheck ping and replies with whether the server has finished startup.
uvicorn/supervisors/multiprocess.py:57
↓ 1 callers
Method
receive
(self)
uvicorn/lifespan/on.py:136
↓ 1 callers
Function
receive_all
(sock: socket.socket)
tests/protocols/test_http.py:979
↓ 1 callers
Method
receive_text
Read the server frames, returning the text messages they carried.
tests/protocols/test_websocket.py:1535
↓ 1 callers
Method
render
(self, content)
tests/response.py:23
↓ 1 callers
Function
resolve_reload_patterns
(patterns_list: list[str], directories_list: list[str])
uvicorn/config.py:151
↓ 1 callers
Method
restart
(self)
uvicorn/supervisors/basereload.py:86
↓ 1 callers
Method
restart
(self)
tests/supervisors/test_reload.py:365
↓ 1 callers
Method
resume_reading_if_idle
Resume reads only if no stream is over the body buffer high-water mark; otherwise a slow stream's buffer would keep growing while a fast
uvicorn/protocols/http/zttp_h2_impl.py:266
↓ 1 callers
Method
resume_reading_if_idle
(self)
tests/protocols/test_http2.py:154
↓ 1 callers
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/http/zttp_impl.py:305
↓ 1 callers
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/http/zttp_h2_impl.py:323
↓ 1 callers
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/http/h11_impl.py:353
↓ 1 callers
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/http/httptools_impl.py:364
↓ 1 callers
Method
resume_writing
(self)
tests/protocols/test_websocket.py:1552
↓ 1 callers
Method
run
(self)
uvicorn/supervisors/multiprocess.py:196
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/zttp_impl.py:363
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/zttp_h2_impl.py:380
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/h11_impl.py:409
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/httptools_impl.py:420
↓ 1 callers
Method
run_asgi
(self)
uvicorn/protocols/websockets/wsproto_impl.py:360
↓ 1 callers
Method
run_asgi
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:407
↓ 1 callers
Method
run_asgi
Wrapper around the ASGI callable, handling exceptions and unexpected termination states.
uvicorn/protocols/websockets/websockets_impl.py:251
↓ 1 callers
Method
run_later
(self, with_delay: float)
tests/protocols/test_http.py:241
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/zttp_impl.py:409
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/zttp_h2_impl.py:432
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/httptools_impl.py:463
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/zttp_impl.py:253
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/h11_impl.py:299
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/httptools_impl.py:206
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/zttp_impl.py:391
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/zttp_h2_impl.py:417
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/h11_impl.py:437
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/httptools_impl.py:448
↓ 1 callers
Function
send_fragmented_req
(path: str)
tests/protocols/test_http.py:990
↓ 1 callers
Method
sender
(self, send: ASGISendCallable)
uvicorn/middleware/wsgi.py:146
↓ 1 callers
Method
set_content_length
(self)
tests/response.py:28
↓ 1 callers
Method
set_content_type
(self)
tests/response.py:32
↓ 1 callers
Function
set_exit
()
tests/test_server.py:114
↓ 1 callers
Method
setup_event_loop
(self)
uvicorn/config.py:548
↓ 1 callers
Method
should_restart
(self)
uvicorn/supervisors/basereload.py:116
↓ 1 callers
Method
should_restart
(self)
tests/supervisors/test_reload.py:371
↓ 1 callers
Method
shutdown
(self)
uvicorn/lifespan/off.py:16
↓ 1 callers
Method
shutdown
(self)
uvicorn/lifespan/on.py:64
↓ 1 callers
Method
signal_handler
A signal handler that is registered with the parent process.
uvicorn/supervisors/basereload.py:40
↓ 1 callers
Method
start_keepalive
(self)
uvicorn/protocols/websockets/wsproto_impl.py:304
↓ 1 callers
Method
start_keepalive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:329
↓ 1 callers
Method
startup
(self, sockets: list[socket.socket] | None = None)
uvicorn/server.py:115
↓ 1 callers
Method
startup
(self)
uvicorn/lifespan/off.py:13
↓ 1 callers
Method
startup
(self)
uvicorn/lifespan/on.py:47
↓ 1 callers
Method
startup
(self)
tests/supervisors/test_reload.py:362
↓ 1 callers
Function
subprocess_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 callers
Method
to_message
(self)
uvicorn/protocols/websockets/wsproto_impl.py:61
↓ 1 callers
Function
touch_soon
()
tests/supervisors/test_reload.py:40
↓ 1 callers
Function
uvloop_loop_factory
(use_subprocess: bool = False)
uvicorn/loops/uvloop.py:9
↓ 1 callers
Method
write
(self, data: bytes)
tests/protocols/test_http2.py:69
↓ 1 callers
Function
wsresponse
A simple websocket connection request and response helper
tests/protocols/test_websocket.py:74
Method
__aenter__
(self)
tests/protocols/test_websocket.py:1500
Method
__aexit__
(self, *exc_info: object)
tests/protocols/test_websocket.py:1506
Method
__await__
(self)
tests/protocols/test_websocket.py:60
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:643
Method
__init__
( self, app: ASGIApplication | Callable[..., Any] | str, host: str = "127.0.0.1",
uvicorn/config.py:196
Method
__init__
( self, fmt: str | None = None, datefmt: str | None = None, style: Literal["%"
uvicorn/logging.py:32
← previous
next →
201–300 of 939, ranked by callers