Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
959 in github.com/Kludex/uvicorn
⨍
Functions
959
◇
Types & classes
102
↳
Endpoints
2
↓ 1 callers
Method
handle_close
(self, event: events.CloseConnection)
uvicorn/protocols/websockets/wsproto_impl.py:273
↓ 1 callers
Method
handle_close
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:371
↓ 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:220
↓ 1 callers
Method
handle_cont
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:268
↓ 1 callers
Method
handle_events
(self)
uvicorn/protocols/http/zttp_h2_impl.py:162
↓ 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:198
↓ 1 callers
Method
handle_handshake_exception
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:400
↓ 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:306
↓ 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:310
↓ 1 callers
Method
handle_request
(self, event: zttp.Request)
uvicorn/protocols/http/zttp_h2_impl.py:192
↓ 1 callers
Method
handle_rst_stream
(self, event: zttp.RstStream)
uvicorn/protocols/http/zttp_h2_impl.py:260
↓ 1 callers
Method
handle_text
(self, event: Frame)
uvicorn/protocols/websockets/websockets_sansio_impl.py:273
↓ 1 callers
Method
handle_websocket_upgrade
(self, event: zttp.Request)
uvicorn/protocols/http/zttp_impl.py:233
↓ 1 callers
Method
handle_websocket_upgrade
(self, event: h11.Request)
uvicorn/protocols/http/h11_impl.py:276
↓ 1 callers
Method
handle_websocket_upgrade
(self)
uvicorn/protocols/http/httptools_impl.py:185
↓ 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:1395
↓ 1 callers
Function
main
( app: str, host: str, port: int, uds: str, fd: int, loop: LoopFactoryType | str,
uvicorn/main.py:406
↓ 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:79
↓ 1 callers
Function
ping_sent
()
tests/protocols/test_websocket.py:1462
↓ 1 callers
Method
pong
Receives one healthcheck ping and replies with whether the server has finished startup.
uvicorn/supervisors/multiprocess.py:57
↓ 1 callers
Function
receive_all
(sock: socket.socket)
tests/protocols/test_http.py:1060
↓ 1 callers
Method
receive_text
Read the server frames, returning the text messages they carried.
tests/protocols/test_websocket.py:1591
↓ 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:370
↓ 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:269
↓ 1 callers
Method
resume_reading_if_idle
(self)
tests/protocols/test_http2.py:156
↓ 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:304
↓ 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:326
↓ 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:349
↓ 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:362
↓ 1 callers
Method
resume_writing
(self)
tests/protocols/test_websocket.py:1608
↓ 1 callers
Method
run
(self)
uvicorn/supervisors/multiprocess.py:196
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/zttp_impl.py:362
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/zttp_h2_impl.py:386
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/h11_impl.py:405
↓ 1 callers
Method
run_asgi
(self, app: ASGI3Application)
uvicorn/protocols/http/httptools_impl.py:418
↓ 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:414
↓ 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:242
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/zttp_impl.py:408
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/zttp_h2_impl.py:438
↓ 1 callers
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/http/httptools_impl.py:461
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/zttp_impl.py:252
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/h11_impl.py:295
↓ 1 callers
Method
send_400_response
(self, msg: str)
uvicorn/protocols/http/httptools_impl.py:205
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/zttp_impl.py:390
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/zttp_h2_impl.py:423
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/h11_impl.py:433
↓ 1 callers
Method
send_500_response
(self)
uvicorn/protocols/http/httptools_impl.py:446
↓ 1 callers
Function
send_fragmented_req
(path: str)
tests/protocols/test_http.py:1071
↓ 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
set_protocol
(self, protocol: asyncio.Protocol)
tests/protocols/test_http.py:205
↓ 1 callers
Method
setup_event_loop
(self)
uvicorn/config.py:547
↓ 1 callers
Method
should_restart
(self)
uvicorn/supervisors/basereload.py:116
↓ 1 callers
Method
should_restart
(self)
tests/supervisors/test_reload.py:376
↓ 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:325
↓ 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:367
↓ 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_websocket.py:1514
↓ 1 callers
Method
write
(self, data: bytes)
tests/protocols/test_http2.py:71
↓ 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:1556
Method
__aexit__
(self, *exc_info: object)
tests/protocols/test_websocket.py:1562
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
← previous
next →
201–300 of 959, ranked by callers