MCPcopy Create free account

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

Functions638 in github.com/emmett-framework/granian

↓ 2 callersFunctionempty_body
()
src/http.rs:56
↓ 2 callersMethodget_client_host
(self, x_forwarded_for: str)
granian/utils/proxies.py:42
↓ 2 callersFunctionheader_contains_value
( headers: &hyper::HeaderMap, header: impl hyper::header::AsHeaderName, value: impl AsRef<[u8]>, )
src/utils.rs:3
↓ 2 callersMethodincr_spawn
(&self, val: usize)
src/metrics.rs:162
↓ 2 callersFunctioninit_runtime_st
( blocking_threads: usize, py_threads: usize, py_threads_idle_timeout: u64, py_loop: Arc<Py<Py
src/runtime.rs:210
↓ 2 callersFunctionio_builder
(wait)
benchmarks/app/asgi.py:66
↓ 2 callersFunctionio_builder
(wait)
benchmarks/app/wsgi.py:38
↓ 2 callersFunctionio_builder
(wait)
benchmarks/app/rsgi.py:57
↓ 2 callersMethodkeys
(&self)
src/rsgi/types.rs:34
↓ 2 callersMethodkill
(self)
granian/server/embed.py:85
↓ 2 callersFunctionload_env
(files)
granian/_internal.py:74
↓ 2 callersFunctionlog_application_callable_exception
(py: Python, err: &pyo3::PyErr)
src/utils.rs:44
↓ 2 callersMethodmemory
(&self, py: Python<'p>, pids: Option<Vec<u32>>)
src/sys.rs:30
↓ 2 callersFunctionpatch_pypath
(wd: Path | None = None)
granian/_internal.py:12
↓ 2 callersMethodpy_event_loop
(&self, py: Python)
src/runtime.rs:175
↓ 2 callersFunctionresponse_500
()
src/http.rs:42
↓ 2 callersMethodresponse_empty
(self, status, headers)
granian/rsgi.py:58
↓ 2 callersMethodresponse_file
(self, status, headers, file)
granian/rsgi.py:70
↓ 2 callersFunctionserver
(server_port, request)
tests/conftest.py:121
↓ 2 callersFunctionset_main_signals
(interrupt_handler, reload_handler=None)
granian/_signals.py:15
↓ 2 callersMethodshutdown
(self, exit_code=0)
granian/server/common.py:492
↓ 2 callersMethodshutdown
(self, exit_code=0)
granian/server/embed.py:406
↓ 2 callersMethodspawn_thread
(&self, current_count: usize)
src/blocking.rs:154
↓ 2 callersMethodstartup
(self, spawn_target, target_loader)
granian/server/common.py:471
↓ 2 callersMethodstartup
(self, spawn_target, target_loader)
granian/server/embed.py:384
↓ 2 callersMethodterminate
(self)
granian/server/common.py:72
↓ 2 callersMethodterminate
(self)
granian/server/embed.py:80
↓ 2 callersFunctionws_message_into_py
(py: Python, message: Message)
src/asgi/conversion.rs:33
↓ 1 callersMethod__init__
(self, loop, cb, aio_task, aio_tenter, aio_texit)
granian/_futures.py:53
↓ 1 callersMethod__init__
(self, min: int | None = None, max: int | None = None)
granian/cli.py:31
↓ 1 callersMethod__init__
( self, target: Any, address: str = '127.0.0.1', port: int = 8000, uds
granian/server/embed.py:95
↓ 1 callersFunction_build_access_logger
(fmt)
granian/asgi.py:139
↓ 1 callersFunction_build_access_logger
(fmt)
granian/wsgi.py:80
↓ 1 callersFunction_build_access_logger
(fmt)
granian/rsgi.py:118
↓ 1 callersFunction_cbsched_aioschedule
(loop, ctx, cb)
granian/_futures.py:90
↓ 1 callersFunction_cbsched_schedule
(loop, ctx, run, cb)
granian/_futures.py:83
↓ 1 callersMethod_check_gil
(self)
granian/server/mt.py:308
↓ 1 callersFunction_client_recv
(ws, to_recv)
benchmarks/ws/benchmark.py:28
↓ 1 callersFunction_client_redy
(target)
benchmarks/ws/benchmark.py:17
↓ 1 callersFunction_client_send
(ws, messages)
benchmarks/ws/benchmark.py:37
↓ 1 callersFunction_granian_version
()
benchmarks/benchmarks.py:402
↓ 1 callersMethod_handle_rss_signal
(self, spawn_target, target_loader)
granian/server/common.py:521
↓ 1 callersFunction_http_logger
(scope, proto)
granian/asgi.py:115
↓ 1 callersFunction_http_logger
(scope, proto)
granian/rsgi.py:93
↓ 1 callersMethod_id
(self)
granian/server/common.py:48
↓ 1 callersMethod_id
(self)
granian/server/embed.py:55
↓ 1 callersMethod_id
(self)
granian/server/mp.py:100
↓ 1 callersMethod_init_shared_socket
(self)
granian/server/common.py:313
↓ 1 callersMethod_init_shared_socket
(self)
granian/server/mp.py:328
↓ 1 callersMethod_init_static_mounts
( self, routes: Sequence[str], paths: Sequence[Path], dir_to_file: str | None,
granian/server/common.py:236
↓ 1 callersFunction_pretty_print_default
(value: bool | None)
granian/cli.py:94
↓ 1 callersMethod_respawn_workers
(self, workers, spawn_target, target_loader, delay: float = 0)
granian/server/embed.py:350
↓ 1 callersFunction_runner
(proto, scope)
granian/wsgi.py:49
↓ 1 callersMethod_serve
(self, spawn_target, target_loader)
granian/server/embed.py:413
↓ 1 callersMethod_serve_loop
(self, spawn_target, target_loader)
granian/server/common.py:524
↓ 1 callersMethod_spawn
(self, target, args)
granian/server/common.py:45
↓ 1 callersMethod_spawn_worker
(self, idx, target, callback_loader)
granian/server/embed.py:170
↓ 1 callersMethod_start_ipc
(self)
granian/server/common.py:455
↓ 1 callersMethod_start_metrics
(self)
granian/server/common.py:461
↓ 1 callersMethod_stop_ipc
(self)
granian/server/common.py:458
↓ 1 callersMethod_stop_metrics
(self)
granian/server/common.py:468
↓ 1 callersMethod_stop_workers
(self)
granian/server/embed.py:371
↓ 1 callersMethod_unlink_pidfile
(self)
granian/server/common.py:438
↓ 1 callersMethod_watch
(self)
granian/server/common.py:60
↓ 1 callersMethod_watch
(self)
granian/server/embed.py:68
↓ 1 callersMethod_watcher
(self)
granian/server/embed.py:58
↓ 1 callersMethod_write_pid
(self)
granian/server/common.py:406
↓ 1 callersMethod_write_pidfile
(self)
granian/server/common.py:410
↓ 1 callersFunction_ws_logger
(scope, proto)
granian/asgi.py:123
↓ 1 callersFunction_ws_logger
(scope, proto)
granian/rsgi.py:101
↓ 1 callersFunctionadapt_body
(py: Python, message: &Bound<PyDict>)
src/asgi/io.rs:680
↓ 1 callersFunctionadapt_file
(py: Python, message: &Bound<PyDict>)
src/asgi/io.rs:694
↓ 1 callersFunctionadapt_headers
(py: Python, message: &Bound<PyDict>)
src/asgi/io.rs:661
↓ 1 callersFunctionadapt_status_code
(py: Python, message: &Bound<PyDict>)
src/asgi/io.rs:653
↓ 1 callersMethodas_unix_listener
(&self)
src/net.rs:196
↓ 1 callersFunctionbenchmark
(run)
benchmarks/ws/benchmark.py:65
↓ 1 callersFunctionbenchmark_ws
(concurrencies=None)
benchmarks/benchmarks.py:193
↓ 1 callersFunctionblocking_worker
(queue: channel::Receiver<BlockingTask>)
src/blocking.rs:265
↓ 1 callersFunctionblocking_worker_idle
(queue: channel::Receiver<BlockingTask>, idle: Arc<atomic::AtomicUsize>)
src/blocking.rs:273
↓ 1 callersFunctionblocking_worker_idle_with_metrics
( queue: channel::Receiver<BlockingTask>, idle: Arc<atomic::AtomicUsize>, metrics: Arc<metrics::Wo
src/blocking.rs:354
↓ 1 callersFunctionblocking_worker_timeout
( queue: channel::Receiver<BlockingTask>, timeout: time::Duration, idle: Arc<atomic::AtomicUsize>,
src/blocking.rs:286
↓ 1 callersFunctionblocking_worker_timeout_with_metrics
( queue: channel::Receiver<BlockingTask>, timeout: time::Duration, idle: Arc<atomic::AtomicUsize>,
src/blocking.rs:416
↓ 1 callersFunctionblocking_worker_with_metrics
(queue: channel::Receiver<BlockingTask>, metrics: Arc<metrics::WorkerMetrics>)
src/blocking.rs:304
↓ 1 callersFunctionbroadcast
(message)
benchmarks/ws/app/asgi.py:4
↓ 1 callersFunctionbroadcast
(message)
benchmarks/ws/app/rsgi.py:7
↓ 1 callersFunctionbuild_env_loader
()
granian/_internal.py:79
↓ 1 callersFunctionbuild_response
(status: u16, pyheaders: hyper::HeaderMap, body: HTTPResponseBody)
src/wsgi/http.rs:14
↓ 1 callersFunctionbuild_results
(data)
benchmarks/ws/benchmark.py:78
↓ 1 callersFunctionbuild_scope_http
( py: Python, req: request::Parts, server: SockAddr, client: SockAddr, scheme: HTTPProto,
src/asgi/utils.rs:91
↓ 1 callersFunctionbuild_scope_ws
( py: Python, req: request::Parts, server: SockAddr, client: SockAddr, scheme: HTTPProto,
src/asgi/utils.rs:104
↓ 1 callersMethodbuild_ssl_context
( self, cert: Path | None, key: Path | None, password: str | None, pro
granian/server/common.py:261
↓ 1 callersFunctionbuild_wsgi
( py: Python, server_addr: SockAddr, client_addr: SockAddr, scheme: HTTPProto, mut req: re
src/wsgi/callbacks.rs:32
↓ 1 callersFunctioncall_http
( rt: RuntimeRef, cb: ArcCBScheduler, server_addr: SockAddr, client_addr: SockAddr, scheme
src/wsgi/callbacks.rs:117
↓ 1 callersMethodcancel
(self)
granian/_futures.py:57
↓ 1 callersFunctioncli
( app: str, host: str, port: int, uds: pathlib.Path | None, uds_permissions: int | None,
granian/cli.py:435
↓ 1 callersFunctionclient
()
tests/test_embed.py:28
↓ 1 callersFunctionclient
(idx, messages, ready_signal)
benchmarks/ws/benchmark.py:46
↓ 1 callersMethodclose
(&mut self)
src/asgi/io.rs:331
↓ 1 callersMethodconsumed
(&self)
src/rsgi/io.rs:330
↓ 1 callersFunctiondefault_runtime
(blocking_threads: usize)
src/runtime.rs:180
← previousnext →101–200 of 638, ranked by callers