Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kludex/uvicorn
/ functions
Functions
752 in github.com/Kludex/uvicorn
⨍
Functions
752
◇
Types & classes
84
↳
Endpoints
1
Function
asgi3app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/protocols/test_http.py:879
Function
asgi_app
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
tests/test_config.py:44
Method
asgi_receive
(self)
uvicorn/protocols/websockets/websockets_impl.py:355
Method
asgi_send
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_impl.py:267
Method
asgi_version
(self)
uvicorn/config.py:364
Function
asyncio_loop_factory
(use_subprocess: bool = False)
uvicorn/loops/asyncio.py:8
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/httptools_impl.py:116
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/wsproto_impl.py:137
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/websockets_sansio_impl.py:125
Method
connection_lost
(self, exc: Exception | None)
uvicorn/protocols/websockets/websockets_impl.py:138
Method
connection_made
(self, transport: asyncio.Transport)
uvicorn/protocols/websockets/wsproto_impl.py:126
Method
connection_made
Called when a connection is made.
uvicorn/protocols/websockets/websockets_sansio_impl.py:112
Method
connection_made
( # type: ignore[override] self, transport: asyncio.Transport )
uvicorn/protocols/websockets/websockets_impl.py:123
Function
create_app
()
tests/test_config.py:228
Method
create_protocol
( _loop: asyncio.AbstractEventLoop | None = None, )
uvicorn/server.py:110
Method
data_received
(self, data: bytes)
uvicorn/protocols/websockets/wsproto_impl.py:154
Method
data_received
(self, data: bytes)
uvicorn/protocols/websockets/websockets_sansio_impl.py:153
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:437
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/httptools_impl.py:135
Method
eof_received
(self)
uvicorn/protocols/websockets/wsproto_impl.py:151
Method
eof_received
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:139
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_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:57
Method
is_ssl
(self)
uvicorn/config.py:373
Function
json_logging_config
(logging_config: dict)
tests/test_config.py:35
Method
keepalive_timeout
(self)
uvicorn/protocols/websockets/wsproto_impl.py:311
Method
keepalive_timeout
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:310
Method
limit_max_requests
(self)
uvicorn/server.py:68
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
Method
on_body
(self, body: bytes)
uvicorn/protocols/http/httptools_impl.py:313
Method
on_header
(self, name: bytes, value: bytes)
uvicorn/protocols/http/httptools_impl.py:242
Method
on_headers_complete
(self)
uvicorn/protocols/http/httptools_impl.py:248
Method
on_message_begin
(self)
uvicorn/protocols/http/httptools_impl.py:222
Method
on_message_complete
(self)
uvicorn/protocols/http/httptools_impl.py:321
Method
on_response_complete
(self)
uvicorn/protocols/http/h11_impl.py:322
Method
on_response_complete
(self)
uvicorn/protocols/http/httptools_impl.py:327
Method
on_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/wsproto_impl.py:205
Method
on_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/websockets_sansio_impl.py:345
Method
on_task_complete
(self, task: asyncio.Task[None])
uvicorn/protocols/websockets/websockets_impl.py:159
Method
on_url
(self, url: bytes)
uvicorn/protocols/http/httptools_impl.py:239
Method
pause_reading
(self)
tests/protocols/test_http.py:192
Method
pause_reading
(self)
tests/benchmarks/http.py:97
Method
pause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/http/h11_impl.py:352
Method
pause_writing
(self)
uvicorn/protocols/http/flow_control.py:31
Method
pause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/http/httptools_impl.py:358
Method
pause_writing
Called by the transport when the write buffer exceeds the high water mark.
uvicorn/protocols/websockets/wsproto_impl.py:183
Method
pid
(self)
uvicorn/supervisors/multiprocess.py:133
Function
print_version
(ctx: click.Context, param: click.Parameter, value: bool)
uvicorn/main.py:47
Method
process_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:162
Method
process_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:209
Function
raise_exception
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:37
Method
receive
(self)
uvicorn/protocols/http/h11_impl.py:527
Method
receive
(self)
uvicorn/protocols/http/httptools_impl.py:563
Method
receive
(self)
uvicorn/protocols/websockets/wsproto_impl.py:464
Method
receive
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:479
Method
register
(self, ws: WebSocketServerProtocol)
uvicorn/protocols/websockets/websockets_impl.py:51
Function
reload_directory_structure
This fixture creates a directory structure to enable reload parameter tests The fixture has the following structure: root ├── [app,
tests/conftest.py:111
Method
restart
(self)
uvicorn/supervisors/statreload.py:45
Method
resume_reading
(self)
tests/protocols/test_http.py:195
Method
resume_reading
(self)
tests/benchmarks/http.py:100
Method
resume_writing
(self)
uvicorn/protocols/http/flow_control.py:36
Method
resume_writing
Called by the transport when the write buffer drops below the low water mark.
uvicorn/protocols/websockets/wsproto_impl.py:189
Function
return_exc_info
(environ: Environ, start_response: StartResponse)
tests/middleware/test_wsgi.py:41
Function
run
(sockets: list[socket.socket] | None)
tests/supervisors/test_reload.py:29
Method
run
(self)
uvicorn/workers.py:103
Method
send
(self, message: ASGISendEvent)
uvicorn/protocols/websockets/websockets_sansio_impl.py:372
Method
send_keepalive_ping
(self)
uvicorn/protocols/websockets/wsproto_impl.py:298
Method
send_keepalive_ping
(self)
uvicorn/protocols/websockets/websockets_sansio_impl.py:295
Method
server
(self)
uvicorn/supervisors/multiprocess.py:127
Function
server_run
(sockets: list[socket.socket])
tests/test_subprocess.py:11
Function
service_unavailable
(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable)
uvicorn/protocols/http/flow_control.py:42
← previous
next →
301–400 of 752, ranked by callers