Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benoitc/gunicorn
/ functions
Functions
5,599 in github.com/benoitc/gunicorn
⨍
Functions
5,599
◇
Types & classes
1,147
↳
Endpoints
142
Method
get_data
(self, unreader, buf)
gunicorn/http/body.py:162
Method
get_echo_count
Get the number of echo calls made. Returns: The echo count
tests/support_dirty_apps.py:129
Method
get_extra_info
(self, name)
tests/test_dirty_integration.py:54
Method
get_extra_info
(self, name, default=None)
tests/test_asgi_keepalive_background.py:35
Method
get_extra_info
(self, name, default=None)
tests/test_asgi_keepalive_smuggling.py:41
Method
get_extra_info
(self, name)
tests/test_dirty_worker.py:90
Method
get_extra_info
(self, name, default=None)
tests/test_asgi_nr_conns_shutdown.py:39
Method
get_extra_info
(self, name)
tests/test_dirty_arbiter.py:63
Method
get_extra_info
(self, name)
tests/dirty/test_arbiter_streaming.py:64
Method
get_extra_info
(self, name)
tests/dirty/test_streaming_integration.py:97
Method
get_extra_info
(self, name)
tests/dirty/test_multi_app_routing.py:104
Method
get_extra_info
(self, name, default=None)
benchmarks/asgi/profile_requests.py:69
Method
get_fastapi
()
tests/docker/asgi_compliance/test_framework_integration.py:489
Method
get_funs
(p)
tests/treq.py:252
Function
get_h2_version
Get the installed h2 library version. Returns: tuple: Version tuple (major, minor, patch) or None if not installed.
gunicorn/http2/__init__.py:43
Method
get_header
Get header by name (case-insensitive). Args: name: Header name to look up Returns: Header value if found, No
gunicorn/asgi/uwsgi.py:160
Method
get_header
Get a header value by name (case-insensitive).
gunicorn/asgi/parser.py:1163
Method
get_headers
()
tests/docker/asgi_compliance/test_concurrency.py:68
Method
get_health
()
tests/docker/asgi_compliance/test_concurrency.py:74
Function
get_http2_connection_class
Get the HTTP2ServerConnection class if h2 is available. Returns: HTTP2ServerConnection class, or raises HTTP2NotAvailable
gunicorn/http2/__init__.py:54
Method
get_info
Get app info.
tests/docker/per_app_allocation/app.py:172
Function
get_parser
Get appropriate parser based on protocol config. Args: cfg: Gunicorn config object source: Socket or iterable source sour
gunicorn/http/__init__.py:9
Method
get_prefix
Get the current prefix. Returns: The current prefix
tests/support_dirty_apps.py:121
Method
get_request
()
tests/docker/asgi_compliance/test_http2_asgi.py:332
Method
get_request
()
tests/docker/uwsgi/test_uwsgi_integration.py:256
Method
get_root
()
tests/docker/asgi_compliance/test_concurrency.py:65
Method
get_scope
()
tests/docker/asgi_compliance/test_websocket_compliance.py:627
Method
get_scope
()
tests/docker/asgi_compliance/test_concurrency.py:71
Method
get_session
Get user session - visible from any worker.
examples/dirty_example/dirty_app.py:226
Method
get_starlette
()
tests/docker/asgi_compliance/test_framework_integration.py:485
Method
get_stats
Get global request counter (shared across all workers).
examples/dirty_example/dirty_app.py:248
Method
get_value
Get the current counter value. Returns: The current counter value
tests/support_dirty_apps.py:55
Method
get_worker_id
Return the worker ID that loaded this app.
tests/support_dirty_app.py:126
Method
get_worker_id
Return the worker ID that loaded this app.
tests/support_dirty_app.py:152
Method
get_worker_id
Return the worker ID that loaded this app.
tests/docker/per_app_allocation/app.py:113
Method
get_worker_id
Return the worker ID that loaded this app.
tests/docker/per_app_allocation/app.py:148
Method
get_worker_id
Return the worker ID that loaded this app.
tests/docker/per_app_allocation/app.py:179
Method
get_write_buffer_size
(self)
tests/test_asgi_keepalive_background.py:56
Method
get_write_buffer_size
(self)
tests/test_asgi_keepalive_smuggling.py:60
Method
get_write_buffer_size
(self)
benchmarks/asgi/profile_requests.py:97
Function
getcwd
()
gunicorn/util.py:495
Method
getpeername
(self)
tests/test_gtornado.py:47
Method
getpeername
(self)
tests/test_asgi_worker.py:62
Method
getpeername
(self)
tests/test_gthread.py:56
Method
getsockname
(self)
tests/test_gtornado.py:44
Method
getsockname
(self)
tests/test_asgi_worker.py:103
Method
gevent_worker
Create a GeventWorker instance for testing.
tests/test_http2_alpn.py:309
Method
gid
(self)
gunicorn/config.py:168
Method
gone
()
gunicorn/asgi/protocol.py:2599
Function
goodbye_world
(request)
examples/frameworks/pyramidapp.py:11
Function
gunicorn_server
Start and stop a gunicorn server.
tests/test_signal_integration.py:82
Function
gunicorn_ssl_url
Return the gunicorn HTTPS service URL.
tests/docker/asgi_compliance/conftest.py:192
Function
gunicorn_url
Return the gunicorn HTTP service URL.
tests/docker/asgi_compliance/conftest.py:186
Function
gunicorn_url
Return the gunicorn service URL.
tests/docker/http2/conftest.py:163
Function
h1_client
Create an HTTP/1.1 only client.
tests/docker/http2/conftest.py:184
Function
h2_client
Create an HTTP/2 capable client.
tests/docker/http2/conftest.py:175
Function
h2spec_services
Bring up one gunicorn per worker class; tear everything down after.
tests/docker/h2spec/conftest.py:59
Function
handle
This is the websocket handler function. Note that we can dispatch based on path in here, too.
examples/websocket/gevent_websocket.py:425
Method
handle
Handle a request on a connection. Runs in a worker thread.
gunicorn/workers/gthread.py:514
Method
handle
(self, listener, client, addr)
gunicorn/workers/ggevent.py:116
Method
handle
(self, listener, client, addr)
gunicorn/workers/base_async.py:38
Function
handleSummary
(data)
tests/docker/stress/k6/ws.js:37
Function
handleSummary
(data)
tests/docker/stress/k6/main.js:21
Method
handle_abort
(self, sig, frame)
gunicorn/workers/base.py:197
Method
handle_abort_signal
Handle SIGABRT - abort.
gunicorn/workers/gasgi.py:146
Method
handle_chld
SIGCHLD handling - called from main loop, safe to log.
gunicorn/arbiter.py:293
Method
handle_connection
Handle a connection from the arbiter. Each connection can send multiple requests.
gunicorn/dirty/worker.py:288
Method
handle_exit
Handle SIGTERM - begin graceful shutdown.
gunicorn/workers/gthread.py:286
Method
handle_exit
(self, sig, frame)
gunicorn/workers/gtornado.py:35
Method
handle_http2
(self, listener, client, addr, preface=b"", upgrade=None)
tests/test_http2_h2c.py:378
Method
handle_http2
(self, conn)
tests/test_http2_h2c.py:744
Method
handle_http2_request
(self, req, conn, h2_conn)
tests/test_http2_h2c.py:741
Method
handle_int
SIGINT handling
gunicorn/arbiter.py:322
Method
handle_quit
(self, sig, frame)
gunicorn/workers/base.py:190
Method
handle_quit
Handle SIGQUIT - immediate shutdown.
gunicorn/workers/gthread.py:293
Method
handle_quit
(self, sig, frame)
gunicorn/workers/ggevent.py:130
Method
handle_request
(self, listener_name, req, sock, addr)
gunicorn/workers/ggevent.py:122
Method
handle_term
SIGTERM handling
gunicorn/arbiter.py:318
Method
handle_ttin
\ SIGTTIN handling. Increases the number of workers by one.
gunicorn/arbiter.py:332
Method
handle_ttou
\ SIGTTOU handling. Decreases the number of workers by one.
gunicorn/arbiter.py:340
Method
handle_usr1
(self, sig, frame)
gunicorn/workers/base.py:184
Method
handle_usr1
(self, sig, frame)
gunicorn/workers/ggevent.py:135
Method
handle_usr1_signal
Handle SIGUSR1 - reopen log files.
gunicorn/workers/gasgi.py:138
Method
handle_usr2
\ SIGUSR2 handling. Creates a new arbiter/worker set as a fork of the current arbiter without affecting old workers. Use this
gunicorn/arbiter.py:361
Method
handle_winch
SIGWINCH handling
gunicorn/arbiter.py:370
Method
handle_winch
(self, sig, fname)
gunicorn/workers/base.py:301
Method
handle_winch_signal
Handle SIGWINCH - ignored in worker.
gunicorn/workers/gasgi.py:142
Method
handle_worker
(reader, writer)
tests/test_dirty_arbiter.py:753
Function
handler_app
(environ, start_response)
examples/standalone_app.py:23
Method
has_buffered_data
Check if there's data in the pushback buffer.
gunicorn/asgi/unreader.py:137
Function
has_fileno
(obj)
gunicorn/util.py:632
Method
headers
The headers as (UPPER-CASE name, value) str pairs. Built from headers_bytes the first time something reads them: serving a request ne
gunicorn/asgi/parser.py:1017
Function
headers_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:104
Function
headers_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:141
Function
headers_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:140
Function
headers_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:98
Function
headers_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:96
Function
headers_view
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:67
Function
health
Health check endpoint.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:71
Function
health
Health check endpoint.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:119
← previous
next →
2,201–2,300 of 5,599, ranked by callers