MCPcopy Create free account

hub / github.com/emmett-framework/granian / functions

Functions638 in github.com/emmett-framework/granian

↓ 1 callersFunctionentrypoint
()
granian/cli.py:605
↓ 1 callersMethodformat_metrics
(&self)
src/metrics.rs:91
↓ 1 callersMethodget_all
(&self, py: Python<'p>, key: &'p str)
src/rsgi/types.rs:92
↓ 1 callersMethodget_fd
(&self, py: Python)
src/net.rs:226
↓ 1 callersFunctionget_granian_version
()
src/lib.rs:37
↓ 1 callersFunctionget_import_components
(path: str)
granian/_internal.py:16
↓ 1 callersFunctiongranian
(wrk, thr)
benchmarks/app/asgi.py:107
↓ 1 callersFunctiongranian
(wrk, thr)
benchmarks/app/rsgi.py:93
↓ 1 callersMethodhandle
(self)
granian/asgi.py:24
↓ 1 callersMethodhandle
(&self, guard: Arc<tokio::sync::Notify>)
src/workers.rs:586
↓ 1 callersMethodhandler
(&self)
src/runtime.rs:93
↓ 1 callersMethodincr_respawn_err
(&self, val: usize)
src/metrics.rs:166
↓ 1 callersMethodincr_respawn_rss
(&self, val: usize)
src/metrics.rs:174
↓ 1 callersMethodincr_respawn_ttl
(&self, val: usize)
src/metrics.rs:170
↓ 1 callersFunctioninner
()
benchmarks/ws/benchmark.py:20
↓ 1 callersFunctionlifespan
(scope, receive, send)
tests/apps/asgi.py:209
↓ 1 callersFunctionload_module
(module_name: str, raise_on_failure: bool = True)
granian/_internal.py:45
↓ 1 callersFunctionmain
()
benchmarks/ws/benchmark.py:127
↓ 1 callersFunctionpack_msg
(msg: Message)
src/ipc.rs:186
↓ 1 callersFunctionprepare_import
(path: str)
granian/_internal.py:20
↓ 1 callersFunctionresolve_protocol_versions
(min_version: &str)
src/tls.rs:21
↓ 1 callersFunctionresponse
()
tests/apps/wsgi.py:26
↓ 1 callersMethodresponse_file_range
(self, status, headers, file, start, end)
granian/rsgi.py:74
↓ 1 callersMethodresponse_iter
(&self, py: Python, status: u16, headers: Vec<(PyBackedStr, PyBackedStr)>, body: Bound<PyAny>)
src/wsgi/io.rs:41
↓ 1 callersFunctionrun
()
benchmarks/benchmarks.py:408
↓ 1 callersMethodsend
(&self, data: MetricsData, ipc: Arc<tokio::sync::Mutex<interprocess::unnamed_pipe::tokio::Sender>>)
src/metrics.rs:266
↓ 1 callersMethodsend_message
(&self, py: Python<'p>, data: Message)
src/asgi/io.rs:466
↓ 1 callersMethodserve
(self, spawn_target: Callable[..., None] | None = None)
granian/server/embed.py:419
↓ 1 callersFunctionset_sync_signals
()
granian/_signals.py:40
↓ 1 callersMethodsignal_handler_interrupt
(self, *args, **kwargs)
granian/server/common.py:321
↓ 1 callersMethodsignal_handler_reload
(self, *args, **kwargs)
granian/server/common.py:325
↓ 1 callersFunctionspawn_exporter
( runtime: runtime::RuntimeRef, exporter: Py<MetricsExporter>, sock: Py<crate::net::SocketHolder>,
src/metrics.rs:346
↓ 1 callersMethodstart_response
(&self, py: Python<'p>, intent: (u16, HeaderMap))
src/asgi/io.rs:428
↓ 1 callersMethodstop
(self)
granian/server/embed.py:489
↓ 1 callersMethodtaskref
(&self, py: Python, task: Py<PyAny>)
src/asgi/callbacks.rs:80
↓ 1 callersMethodtcp_listener
(&self, sock: &Py<crate::net::SocketHolder>)
src/metrics.rs:185
↓ 1 callersMethodthrow
(&self, _py: Python, state: Arc<CallbackSchedulerState>, err: Py<PyAny>)
src/callbacks.rs:111
↓ 1 callersMethodto_receiver
(&self)
src/ipc.rs:38
↓ 1 callersMethodto_sender
(&self)
src/ipc.rs:137
↓ 1 callersMethodto_spawn
(self, py: Python)
src/callbacks.rs:476
↓ 1 callersFunctiontrim
(data: &[u8])
src/utils.rs:21
↓ 1 callersFunctiontrim_end
(data: &[u8])
src/utils.rs:35
↓ 1 callersFunctiontrim_start
(data: &[u8])
src/utils.rs:26
↓ 1 callersMethodtx
(&self)
src/wsgi/io.rs:24
↓ 1 callersMethodvalues
(&self)
src/rsgi/types.rs:42
↓ 1 callersFunctionwrite_msg
(msg: Message, r: &mut R)
src/ipc.rs:196
↓ 1 callersFunctionws_message_into_rs
(py: Python, message: &Bound<PyDict>)
src/asgi/io.rs:702
↓ 1 callersFunctionwsb
(concurrency, msgs)
benchmarks/benchmarks.py:141
Method__aiter__
(self)
granian/rsgi.py:52
Method__aiter__
(pyself: Py<Self>, py: Python)
src/rsgi/io.rs:101
Method__anext__
(&self, py: Python<'p>)
src/rsgi/io.rs:111
Method__await__
(self)
granian/_futures.py:28
Method__await__
(pyself: PyRef<'_, Self>)
src/callbacks.rs:336
Method__call__
(self, status: str, headers: list[tuple[str, str]], exc_info: Any = None)
granian/wsgi.py:18
Method__call__
(self)
granian/rsgi.py:49
Method__call__
(&self, py: Python, fut: Py<PyAny>)
src/callbacks.rs:307
Method__call__
(&self, py: Python<'p>)
src/rsgi/io.rs:89
Method__contains__
(self, key: str)
granian/_loops.py:18
Method__contains__
(self, host: str | None)
granian/utils/proxies.py:27
Method__contains__
(&self, key: &str)
src/rsgi/types.rs:62
Method__getitem__
(&self, key: &str)
src/rsgi/types.rs:66
Method__init__
(self, *args, **kwargs)
granian/_futures.py:25
Method__init__
(self, loop, cb, aio_task, aio_tenter, aio_texit)
granian/_futures.py:70
Method__init__
(self)
granian/_loops.py:15
Method__init__
(self)
granian/_loops.py:41
Method__init__
(self, callable)
granian/asgi.py:11
Method__init__
(self, enum: Enum, case_sensitive=False)
granian/cli.py:65
Method__init__
(self)
granian/wsgi.py:14
Method__init__
(self, inner)
granian/wsgi.py:26
Method__init__
(self, inner)
granian/rsgi.py:45
Method__init__
(self, trusted_hosts: list[str] | str)
granian/utils/proxies.py:6
Method__init__
(self, parent, idx, target, args, sig)
granian/server/mt.py:32
Method__init__
(self, parent: AbstractServer, idx: int, target: Any, args: Any)
granian/server/common.py:38
Method__init__
( self, target: str, address: str = '127.0.0.1', port: int = 8000, uds
granian/server/common.py:83
Method__init__
(self, parent, idx, target, args, sig)
granian/server/embed.py:35
Method__init__
(self, parent, idx, target, args)
granian/server/mp.py:47
Method__iter__
(pyself: PyRef<'_, Self>)
src/callbacks.rs:340
Method__iter__
(pyself: PyRef<'_, Self>)
src/wsgi/types.rs:95
Method__iter__
(&self, py: Python<'p>)
src/rsgi/types.rs:73
Method__len__
(&self)
src/rsgi/types.rs:77
Method__next__
(&self)
src/callbacks.rs:344
Method__next__
(&self, py: Python)
src/wsgi/types.rs:99
Method__str__
(self)
granian/constants.py:5
Method_bind_addr_fmt
(self)
granian/server/common.py:293
Function_callback_wrapper
(callback, scope_opts, state, access_log_fmt=None)
granian/asgi.py:108
Function_callback_wrapper
(callback: Callable[..., Any], scope_opts: dict[str, Any], access_log_fmt=None)
granian/wsgi.py:34
Function_callback_wrapper
(callback, access_log_fmt=False)
granian/rsgi.py:92
Function_callbacks_from_target
(target)
granian/rsgi.py:83
Function_granian
(py: Python, module: &Bound<PyModule>)
src/lib.rs:47
Method_handle_rss_signal
(self, spawn_target, target_loader)
granian/server/mp.py:374
Method_handle_shutdown_complete
(self, message)
granian/asgi.py:83
Method_handle_shutdown_failed
(self, message)
granian/asgi.py:88
Method_handle_startup_complete
(self, message)
granian/asgi.py:70
Method_handle_startup_failed
(self, message)
granian/asgi.py:75
Method_id
(self)
granian/server/mt.py:49
Function_logger
(scope, proto)
granian/asgi.py:127
Function_logger
(proto, scope)
granian/wsgi.py:64
Function_logger
(scope, proto)
granian/rsgi.py:105
Function_run
(coro, watcher)
granian/_futures.py:91
Method_run
(pyself: Py<Self>, py: Python, coro: Py<PyAny>)
src/callbacks.rs:234
← previousnext →201–300 of 638, ranked by callers