MCPcopy Create free account

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

Functions638 in github.com/emmett-framework/granian

↓ 72 callersMethodget
(self, key: str)
granian/_loops.py:31
↓ 37 callersMethodget
(&self, py: Python, key: &str, default: Option<Py<PyAny>>)
src/rsgi/types.rs:82
↓ 26 callersMethodjoin
(self, timeout=None)
granian/server/embed.py:90
↓ 24 callersFunctionbenchmark
(endpoint, post=False, h2=False, concurrencies=None)
benchmarks/benchmarks.py:175
↓ 24 callersMethodset
(&self)
src/workers.rs:34
↓ 21 callersMethodsend
(&self, py: Python<'p>, data: &Bound<'p, PyDict>)
src/asgi/io.rs:179
↓ 19 callersFunctionapp
( name, procs=None, threads=None, bthreads=None, thmode=None, loop='uvloop', timpl
benchmarks/benchmarks.py:60
↓ 19 callersFunctionasgi_server
(**extras)
tests/test_uds.py:65
↓ 15 callersMethodrun
(self, py: Python)
src/blocking.rs:24
↓ 14 callersFunctionfuture_into_py_futlike
(rt: R, py: Python, fut: F)
src/runtime.rs:265
↓ 13 callersFunctionrsgi_server
(**extras)
tests/test_uds.py:70
↓ 11 callersFunction_new_cbscheduler
(loop, cb, impl_asyncio=False)
granian/_futures.py:75
↓ 11 callersMethodis_uds
(&self)
src/net.rs:230
↓ 11 callersMethoditems
(&self)
src/rsgi/types.rs:52
↓ 10 callersFunctionempty_future_into_py
(py: Python)
src/runtime.rs:221
↓ 10 callersMethodread
(&self, py: Python, size: Option<usize>)
src/wsgi/types.rs:108
↓ 10 callersMethodsend
( &mut self, status: Option<u16>, headers: Option<hyper::HeaderMap>, body: Opt
src/ws.rs:74
↓ 10 callersMethodspawn
(&self, fut: F)
src/runtime.rs:141
↓ 9 callersFunction_future_watcher_wrapper
(inner)
granian/_futures.py:12
↓ 8 callersFunctionerr_future_into_py
(py: Python, err: PyResult<()>)
src/runtime.rs:231
↓ 8 callersFunctionheaders_from_py
(inp: Vec<(PyBackedStr, PyBackedStr)>)
src/conversion.rs:103
↓ 8 callersFunctionserver_static_files
(server_port, request, static_mount=True, **extras)
tests/conftest.py:131
↓ 7 callersMethodclose
(&self)
src/runtime.rs:126
↓ 7 callersFunctioninit_pymodule
(module: &Bound<PyModule>)
src/ipc.rs:213
↓ 6 callersMethod_call_hooks
(hooks)
granian/server/common.py:297
↓ 6 callersMethodbuild
(&self)
src/net.rs:110
↓ 6 callersMethodcollect
(&self, id: usize, data: MetricsData)
src/metrics.rs:86
↓ 6 callersMethodresponse_bytes
(self, status, headers, body)
granian/rsgi.py:66
↓ 6 callersMethodspawn_blocking
(&self, task: F)
src/runtime.rs:149
↓ 6 callersMethodto_string
(&self)
src/net.rs:42
↓ 6 callersFunctionwsgi_server
(**extras)
tests/test_uds.py:75
↓ 5 callersMethodaccept
(&self, py: Python<'p>, subproto: Option<String>)
src/asgi/io.rs:387
↓ 5 callersMethodas_socket
(&self)
src/net.rs:71
↓ 5 callersMethodjoin
(self, timeout=None)
granian/server/common.py:78
↓ 5 callersMethodsend_bytes
(&self, py: Python<'p>, data: Cow<[u8]>)
src/rsgi/io.rs:39
↓ 5 callersMethodserve
( self, spawn_target: Callable[..., None] | None = None, target_loader: Callable[...,
granian/server/mt.py:325
↓ 5 callersMethodstart
(self)
granian/server/common.py:64
↓ 4 callersFunctionb_builder
(size)
benchmarks/app/asgi.py:29
↓ 4 callersFunctionb_builder
(size)
benchmarks/app/wsgi.py:14
↓ 4 callersFunctionb_builder
(size)
benchmarks/app/rsgi.py:25
↓ 4 callersMethodconvert
(self, value: Any, param: click.Parameter | None, ctx: click.Context | None)
granian/cli.py:34
↓ 4 callersMethodheaders
(self)
granian/rsgi.py:28
↓ 4 callersMethodis_alive
(self)
granian/server/common.py:69
↓ 4 callersMethodkeys
(self)
granian/_loops.py:21
↓ 4 callersFunctionmessage_into_py
(py: Python, message: ASGIMessageType)
src/asgi/conversion.rs:13
↓ 4 callersFunctionresponse_404
()
src/http.rs:29
↓ 4 callersFunctions_builder
(size)
benchmarks/app/rsgi.py:34
↓ 4 callersMethodschedule
(&self, py: Python, watcher: Py<T>)
src/callbacks.rs:34
↓ 4 callersMethodsend_response
(&self, status: u16, headers: HeaderMap<HeaderValue>, body: HTTPResponseBody)
src/asgi/io.rs:77
↓ 3 callersMethod__getstate__
(&self, py: Python)
src/net.rs:114
↓ 3 callersMethod_reload
(self, spawn_target, target_loader)
granian/server/common.py:509
↓ 3 callersMethod_respawn_workers
(self, workers, spawn_target, target_loader, delay: float = 0)
granian/server/common.py:339
↓ 3 callersMethod_spawn_workers
(self, spawn_target, target_loader)
granian/server/common.py:332
↓ 3 callersFunctionapp
(scope, receive, send)
tests/apps/asgi.py:216
↓ 3 callersMethodas_str
(&self)
src/http.rs:21
↓ 3 callersFunctioncopy_context
(py: Python)
src/asyncio.rs:27
↓ 3 callersFunctiondone_future_into_py
(py: Python, result: PyResult<Py<PyAny>>)
src/runtime.rs:226
↓ 3 callersMethoderr
(&self, py: Python, err: Bound<PyAny>)
src/asgi/callbacks.rs:76
↓ 3 callersMethodinto_pyobject
(self, py: Python<'p>)
src/conversion.rs:16
↓ 3 callersMethodis_alive
(self)
granian/server/mt.py:65
↓ 3 callersMethodis_alive
(self)
granian/server/embed.py:75
↓ 3 callersMethodkill
(self)
granian/server/common.py:75
↓ 3 callersMethodkill
(self)
granian/server/mp.py:107
↓ 3 callersFunctionlog_request_builder
(fmt)
granian/log.py:75
↓ 3 callersMethodreceive
(self)
granian/asgi.py:67
↓ 3 callersMethodresponse_str
(self, status, headers, body)
granian/rsgi.py:62
↓ 3 callersMethodresponse_stream
(self, status, headers)
granian/rsgi.py:78
↓ 3 callersMethodsend
(&self, py: Python, state: Arc<CallbackSchedulerState>)
src/callbacks.rs:47
↓ 3 callersMethodsend_body
( &self, py: Python<'p>, tx: &mpsc::UnboundedSender<body::Bytes>, body: Box<[u
src/asgi/io.rs:88
↓ 3 callersMethodsend_str
(&self, py: Python<'p>, data: String)
src/rsgi/io.rs:47
↓ 3 callersFunctionserver_tls
(request)
tests/test_uds.py:80
↓ 3 callersFunctionset_loop_signals
(loop)
granian/_signals.py:23
↓ 3 callersMethodshutdown
(self)
granian/asgi.py:55
↓ 3 callersMethodstart
(self)
granian/server/embed.py:71
↓ 3 callersMethodstartup
(self)
granian/asgi.py:45
↓ 3 callersMethodterminate
(self)
granian/server/mt.py:60
↓ 3 callersFunctionworker_http1_config_from_py
(py: Python, cfg: Option<Py<PyAny>>)
src/conversion.rs:49
↓ 3 callersFunctionworker_http2_config_from_py
(py: Python, cfg: Option<Py<PyAny>>)
src/conversion.rs:70
↓ 3 callersFunctionwrk
(duration, concurrency, endpoint, post=None, h2=False)
benchmarks/benchmarks.py:98
↓ 2 callersFunction_get_signals
()
granian/_signals.py:8
↓ 2 callersFunction_inner
()
tests/apps/asgi.py:185
↓ 2 callersFunction_parse_raw_hosts
(value: str)
granian/utils/proxies.py:55
↓ 2 callersMethod_readline
(&self, py: Python)
src/wsgi/types.rs:73
↓ 2 callersFunction_runner
(scope, proto)
granian/asgi.py:111
↓ 2 callersMethod_serve_loop
(self, spawn_target, target_loader)
granian/server/embed.py:394
↓ 2 callersMethod_spawn_worker
(self, idx, target, callback_loader, socket_loader)
granian/server/common.py:329
↓ 2 callersMethod_stop_workers
(self)
granian/server/common.py:364
↓ 2 callersMethod_watch_workers_lifetime
(self, ttl)
granian/server/common.py:398
↓ 2 callersMethod_watch_workers_rss
(self)
granian/server/common.py:402
↓ 2 callersFunctionaccess_log
(rt, mt, scope, resp_code)
granian/asgi.py:142
↓ 2 callersFunctionaccess_log
(rt, mt, scope, resp_code)
granian/wsgi.py:83
↓ 2 callersFunctionaccess_log
(rt, mt, scope, resp_code)
granian/rsgi.py:121
↓ 2 callersFunctionadapt_message_type
(py: Python, message: &Bound<PyDict>)
src/asgi/io.rs:608
↓ 2 callersMethodas_tcp_listener
(&self)
src/net.rs:190
↓ 2 callersFunctionblock_on_local
(rt: &RuntimeWrapper, local: LocalSet, fut: F)
src/runtime.rs:369
↓ 2 callersFunctioncollect_metrics
(birth: &std::time::Instant, data: &Arc<WorkerMetrics>)
src/metrics.rs:235
↓ 2 callersFunctionconfigure_logging
(level: LogLevels, config: dict[str, Any] | None = None, enabled: bool = True)
granian/log.py:62
↓ 2 callersMethodconsumed
(&self)
src/asgi/io.rs:510
↓ 2 callersFunctioncontextvars
(py: Python<'_>)
src/asyncio.rs:7
↓ 2 callersMethoddone
(self)
granian/_futures.py:31
next →1–100 of 638, ranked by callers