Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emmett-framework/granian
/ functions
Functions
638 in github.com/emmett-framework/granian
⨍
Functions
638
◇
Types & classes
135
↳
Endpoints
34
Function
_schedule
(watcher)
granian/_futures.py:84
Function
_serve
(**kwargs)
tests/test_uds.py:19
Function
_serve
(**kwargs)
tests/conftest.py:13
Method
_serve
(self, spawn_target, target_loader)
granian/server/mt.py:315
Method
_serve
(self, spawn_target, target_loader)
granian/server/common.py:576
Method
_serve_with_reloader
(self, spawn_target, target_loader)
granian/server/mt.py:322
Method
_serve_with_reloader
(self, spawn_target, target_loader)
granian/server/common.py:581
Function
_server
( interface, runtime_mode, ws=True, tls=False, task_impl='asyncio', static_mount=False, **server_kwargs )
tests/test_uds.py:25
Function
_server
( interface, port, runtime_mode, ws=True, tls=False, tls_proto=None, task_impl='as
tests/conftest.py:19
Method
_set_schedule_fn
(&self, val: Py<PyAny>)
src/callbacks.rs:229
Method
_spawn
(self, target, args)
granian/server/mt.py:45
Method
_spawn
(self, target, args)
granian/server/embed.py:51
Method
_spawn
(self, target, args)
granian/server/mp.py:95
Method
_spawn_asgi_lifespan_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/mt.py:122
Method
_spawn_asgi_lifespan_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/embed.py:248
Method
_spawn_asgi_lifespan_worker
( worker_id: int, callback: Any, sock: Any, ipc: Any, loop: Any,
granian/server/mp.py:166
Method
_spawn_asgi_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/mt.py:74
Method
_spawn_asgi_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/embed.py:202
Method
_spawn_asgi_worker
( worker_id: int, callback: Any, sock: Any, ipc: Any, loop: Any,
granian/server/mp.py:115
Method
_spawn_rsgi_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/mt.py:179
Method
_spawn_rsgi_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/embed.py:303
Method
_spawn_rsgi_worker
( worker_id: int, callback: Any, sock: Any, ipc: Any, loop: Any,
granian/server/mp.py:226
Method
_spawn_worker
(self, idx, target, callback_loader)
granian/server/mt.py:275
Method
_spawn_worker
(self, idx, target, callback_loader)
granian/server/mp.py:401
Method
_spawn_wsgi_worker
( worker_id: int, shutdown_event: Any, callback: Any, sock: Any, loop:
granian/server/mt.py:230
Method
_spawn_wsgi_worker
( worker_id: int, callback: Any, sock: Any, ipc: Any, loop: Any,
granian/server/mp.py:280
Method
_start_ipc
(self)
granian/server/mp.py:342
Method
_stop_ipc
(self)
granian/server/mp.py:371
Method
_unlink_pidfile
(self)
granian/server/mp.py:338
Method
_watcher
(self)
granian/server/mt.py:52
Method
_watcher
(self)
granian/server/common.py:51
Method
_workers_lifetime_watcher
(self, ttl)
granian/server/common.py:388
Method
_workers_rss_watcher
(self)
granian/server/common.py:393
Method
_write_pidfile
(self)
granian/server/mp.py:334
Method
accept
(&self, py: Python<'p>)
src/rsgi/io.rs:351
Method
add_done_callback
(pyself: PyRef<'_, Self>, cb: Py<PyAny>, context: Option<Py<PyAny>>)
src/callbacks.rs:553
Method
add_waker
(self: Arc<Self>, py: Python, fut: *mut pyo3::ffi::PyObject, fut_cbm: *mut pyo3::ffi::PyObject)
src/callbacks.rs:275
Function
app
(scope, protocol)
tests/test_embed.py:10
Function
app
(environ, protocol)
tests/apps/wsgi.py:38
Function
app
(scope, protocol)
tests/apps/rsgi.py:132
Function
app
(scope, receive, send)
benchmarks/app/asgi.py:97
Function
app
(environ, proto)
benchmarks/app/wsgi.py:66
Function
app
(scope, proto)
benchmarks/app/rsgi.py:88
Function
app
(scope, receive, send)
benchmarks/ws/app/asgi.py:9
Function
app
(scope, protocol)
benchmarks/ws/app/rsgi.py:12
Function
asgi_server
(server_port, **extras)
tests/conftest.py:106
Function
async_app
(scope, receive, send)
benchmarks/app/asgi.py:102
Function
build_asyncio_loop
()
granian/_loops.py:73
Function
build_auto_loop
()
granian/_loops.py:101
Function
build_rloop
(rloop)
granian/_loops.py:94
Function
build_uv_loop
(uvloop)
granian/_loops.py:80
Function
build_winloop
(winloop)
granian/_loops.py:87
Method
call
(self, svc: S, stream: I, permit: tokio::sync::OwnedSemaphorePermit, sig: Arc<tokio::sync::Notify>)
src/workers.rs:914
Function
call_http
( cb: ArcCBScheduler, rt: RuntimeRef, disconnect_guard: Arc<Notify>, server_addr: SockAddr,
src/asgi/callbacks.rs:146
Function
call_http
( cb: ArcCBScheduler, rt: RuntimeRef, disconnect_guard: Arc<Notify>, body: hyper::body::Incomi
src/rsgi/callbacks.rs:118
Function
call_ws
( cb: ArcCBScheduler, rt: RuntimeRef, disconnect_guard: Arc<Notify>, server_addr: SockAddr,
src/asgi/callbacks.rs:171
Function
call_ws
( cb: ArcCBScheduler, rt: RuntimeRef, disconnect_guard: Arc<Notify>, ws: HyperWebsocket, u
src/rsgi/callbacks.rs:138
Method
cancel
(self, msg=None)
granian/_futures.py:40
Method
cancel
(pyself: PyRef<'_, Self>, msg: Option<Py<PyAny>>)
src/callbacks.rs:579
Method
cancelling
(self)
granian/_futures.py:43
Method
cancelling
(self)
granian/_futures.py:60
Method
client_disconnect
(self)
granian/rsgi.py:55
Method
client_disconnect
(&self, py: Python<'p>)
src/rsgi/io.rs:132
Method
close
(self)
granian/wsgi.py:30
Method
close
(&self, status: Option<i32>)
src/rsgi/io.rs:338
Function
concurrency_proc
()
benchmarks/benchmarks.py:204
Function
concurrency_threads
()
benchmarks/benchmarks.py:219
Method
convert
(self, value: Any, param: click.Parameter | None, ctx: click.Context | None)
granian/cli.py:69
Method
convert
(self, value, param, ctx)
granian/cli.py:80
Method
data
(&self)
src/metrics.rs:191
Method
done
(&self)
src/callbacks.rs:612
Method
done
(&self)
src/asgi/callbacks.rs:72
Method
done
(&self)
src/rsgi/callbacks.rs:67
Method
drop
(&mut self)
src/net.rs:204
Function
echo
(scope, receive, send)
tests/apps/asgi.py:52
Function
echo
(environ, protocol)
tests/apps/wsgi.py:20
Function
echo
(_, protocol: HTTPProtocol)
tests/apps/rsgi.py:28
Function
echo
(scope, receive, send)
benchmarks/app/asgi.py:39
Function
echo
(environ, proto)
benchmarks/app/wsgi.py:24
Function
echo
(scope, proto)
benchmarks/app/rsgi.py:43
Function
echo_iter
(scope, receive, send)
benchmarks/app/asgi.py:45
Function
echo_iter
(environ, proto)
benchmarks/app/wsgi.py:29
Function
echo_iter
(scope, proto)
benchmarks/app/rsgi.py:47
Function
echo_stream
(_, protocol: HTTPProtocol)
tests/apps/rsgi.py:33
Function
embed_server
(server_port)
tests/test_embed.py:20
Method
empty
(status: u16, headers: Vec<(PyBackedStr, PyBackedStr)>)
src/rsgi/types.rs:240
Function
empty_context
(py: Python<'_>)
src/asyncio.rs:14
Method
err
(&self, py: Python, err: Bound<PyAny>)
src/rsgi/callbacks.rs:71
Function
err_app
(scope, receive, send)
tests/apps/asgi.py:158
Function
err_app
(environ, protocol)
tests/apps/wsgi.py:34
Function
err_app
(scope: Scope, protocol: HTTPProtocol)
tests/apps/rsgi.py:128
Function
err_proto_flow
(scope, receive, send)
tests/apps/asgi.py:171
Function
err_proto_msg
(scope, receive, send)
tests/apps/asgi.py:162
Method
exception
(self)
granian/_futures.py:37
Method
exception
(&self, py: Python)
src/callbacks.rs:641
Function
file
(scope: Scope, protocol: HTTPProtocol)
tests/apps/rsgi.py:45
Function
file
(scope, proto)
benchmarks/app/rsgi.py:53
Function
file_body
(scope, receive, send)
benchmarks/app/asgi.py:54
Function
file_pathsend
(scope, receive, send)
benchmarks/app/asgi.py:61
Function
file_range
(scope: Scope, protocol: HTTPProtocol)
tests/apps/rsgi.py:50
← previous
next →
301–400 of 638, ranked by callers