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
_crashing_app
(scope, receive, send)
tests/test_asgi_lifespan.py:491
Method
_create_mock_request
Create a mock HTTP request.
tests/test_asgi_error_handling.py:42
Method
_create_protocol
Create an ASGIProtocol instance for testing.
tests/test_asgi_protocol_compat.py:848
Method
_create_protocol
Create a WebSocketProtocol instance.
tests/test_asgi_websocket_enhanced.py:350
Method
_disconnected
True when the receiver should yield http.disconnect to the app.
gunicorn/asgi/protocol.py:412
Function
_echo
(scope, receive, send)
tests/test_asgi_expect_continue.py:21
Method
_emit_body
(self, data)
gunicorn/http2/response.py:63
Method
_failing_app
(scope, receive, send)
tests/test_asgi_lifespan.py:485
Method
_finishing_call_done
An application call left running after its response returned.
gunicorn/asgi/protocol.py:1496
Function
_generate
(size: int)
tests/docker/asgi_framework_compat/conftest.py:198
Method
_get_key_value
(self, key_value)
examples/websocket/gevent_websocket.py:30
Method
_get_next
()
gunicorn/dirty/worker.py:382
Method
_get_num_workers
(self)
gunicorn/arbiter.py:100
Method
_handle_client
Handle client connection. Args: reader: asyncio StreamReader writer: asyncio StreamWriter
gunicorn/ctl/server.py:247
Function
_has_uvloop
Check if uvloop is available.
tests/test_asgi_worker.py:117
Function
_load
(stack, results, extra_env)
tests/docker/stress/test_resilience.py:19
Function
_old_apply
_RequestHeaderPolicy.apply() as it was, on the str headers.
tests/test_asgi_request_build.py:160
Method
_private
(self)
tests/test_dirty_app.py:62
Function
_raw_client_frame
A masked frame with a hand-built length field.
tests/test_asgi_websocket_enhanced.py:677
Method
_ready
(self, docker_services)
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:190
Method
_receive
ASGI receive callable.
gunicorn/asgi/websocket.py:219
Method
_receive_goaway_frame
(self, frame)
gunicorn/http2/h2conn.py:38
Function
_reject
(scope, receive, send)
tests/test_asgi_expect_continue.py:33
Method
_run_loop
Run the asyncio event loop in background thread.
gunicorn/ctl/server.py:194
Method
_set_num_workers
(self, value)
gunicorn/arbiter.py:103
Function
_setproctitle
(title)
gunicorn/util.py:56
Method
_shutdown
Shutdown server (called from event loop thread).
gunicorn/ctl/server.py:189
Function
_test_ssl_version
(options, expected)
tests/test_config.py:535
Function
_uvicorn_protocol
(loop, transport, access_log)
benchmarks/asgi/profile_requests.py:132
Function
_validate_callable
(val)
gunicorn/config.py:547
Method
accept
Accept a new connection from a listener socket.
gunicorn/workers/gthread.py:318
Method
access
See http://httpd.apache.org/docs/2.0/logs.html#combined for format details
gunicorn/glogging.py:375
Method
access
(self, resp, req, environ, request_time)
tests/test_asgi_request_base.py:141
Method
access_log_enabled
Check if access logging is enabled. Used by protocol handlers to skip building log data when logging is disabled. Computed in setup()
gunicorn/glogging.py:357
Method
access_log_enabled
(self)
tests/test_asgi_keepalive_background.py:78
Method
access_log_enabled
(self)
tests/test_asgi_keepalive_smuggling.py:84
Method
acknowledge_data
Credit ``size`` consumed bytes back to the peer. Called by the stream as the application takes body data. The WINDOW_UPDATE frames ar
gunicorn/http2/async_connection.py:397
Function
acsv
(request)
examples/frameworks/django/testing/testing/apps/someapp/views.py:55
Method
action
(conn)
tests/test_http2_async_connection.py:1399
Method
add_callback
(n)
tests/test_gthread.py:194
Method
address
(self)
gunicorn/config.py:159
Method
aggregate
Aggregate data - like a Celery task for report generation. Equivalent to Celery: @app.task def aggregate_sal
examples/celery_alternative/tasks.py:313
Function
aggregate_data
Aggregate data. Celery equivalent: aggregate_data.delay(data, group_by, agg_field, agg_func)
examples/celery_alternative/app.py:277
Function
alt_cfg_module
()
tests/test_config.py:25
Function
app
(scope, receive, send)
tests/test_asgi_websocket_handshake.py:23
Function
app
(scope, receive, send)
tests/test_asgi_http2_response.py:66
Function
app
(scope, receive, send)
tests/test_asgi_uwsgi.py:82
Function
app
(scope, receive, send)
tests/test_asgi_keepalive_background.py:143
Function
app
(scope, receive, send)
tests/test_asgi_keepalive_smuggling.py:133
Function
app
(scope, receive, send)
tests/test_asgi_body_backpressure.py:43
Function
app
(scope, receive, send)
tests/test_asgi_scope.py:25
Function
app
(scope, receive, send)
tests/test_asgi_response_headers.py:70
Function
app
(scope, receive, send)
tests/test_asgi_websocket_enhanced.py:528
Function
app
(scope, receive, send)
tests/test_asgi_request_base.py:24
Function
app
(scope, receive, send)
tests/test_asgi_response_wire.py:171
Function
app
(scope, receive, send)
tests/test_transfer_encoding.py:56
Function
app
Main ASGI HTTP application with multiple test endpoints.
tests/docker/asgi_compliance/apps/http_app.py:16
Function
app
Main ASGI application with lifespan support.
tests/docker/asgi_compliance/apps/lifespan_app.py:28
Function
app
Main ASGI streaming application.
tests/docker/asgi_compliance/apps/streaming_app.py:17
Function
app
Main routing application. Routes based on path prefix: - /http/* -> HTTP test endpoints - /ws/* -> WebSocket test endpoints - /stream
tests/docker/asgi_compliance/apps/main_app.py:29
Function
app
Main ASGI WebSocket application with multiple test endpoints.
tests/docker/asgi_compliance/apps/websocket_app.py:15
Function
app
Simple ASGI application that echoes request info.
tests/docker/asgi/app.py:8
Function
app
Simple WSGI app for testing.
tests/docker/dirty_ttin_ttou/app.py:40
Function
app
(scope, receive, send)
tests/docker/h2spec/asgi_app.py:4
Function
app
Simple ASGI application that echoes request info.
tests/docker/test_asgi_uwsgi/app.py:8
Function
app
Simple WSGI app for testing HTTP/2 functionality.
tests/docker/http2/app.py:10
Function
app
(scope, receive, send)
tests/support/uwsgi_asgi_app.py:4
Function
app
(environ, start_response)
examples/log_app.py:14
Function
app
Simplest possible application object
examples/test.py:13
Function
app
Application which cooperatively pauses 10 seconds before responding
examples/slowclient.py:9
Function
app
Simplest possible application object
examples/echo.py:10
Function
app
Simplest possible application object
examples/sendfile.py:12
Function
app
Simplest possible application object
examples/readline_app.py:22
Function
app
Application which pauses 35 seconds before responding. the worker will timeout in default case.
examples/timeout.py:9
Function
app
(environ, start_response)
examples/boot_fail.py:7
Function
app
(environ, start_response)
examples/alt_spec.py:18
Function
app
Application which cooperatively pauses 20 seconds (needed to surpass normal timeouts) before responding
examples/longpoll.py:17
Function
app
WSGI application for HTTP/2 demonstration.
examples/http2_gevent/app.py:19
Function
app
ASGI application demonstrating HTTP/2 priority and trailers.
examples/http2_features/http2_app.py:29
Function
app
Simple ASGI application demonstrating basic functionality.
examples/asgi/basic_app.py:18
Function
app
ASGI application with WebSocket support.
examples/asgi/websocket_app.py:28
Function
app
Simplest possible application object
examples/deep/test.py:13
Function
app
This resolves to the web page or the websocket depending on the path.
examples/websocket/gevent_websocket.py:441
Function
app
WSGI application that calls dirty pool tasks. Query parameters: action: Task action to call (default: sleep_task) duration:
benchmarks/dirty_bench_wsgi.py:29
Function
app
(scope, receive, send)
benchmarks/asgi/apps.py:27
Method
app
(scope, receive, send)
tests/test_asgi_lifespan.py:159
Method
app
(scope, receive, send)
tests/test_asgi_lifespan.py:282
Method
app
(environ, start_response)
tests/test_dirty_integration.py:72
Method
app
(scope, receive, send)
tests/test_asgi_worker.py:431
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1043
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1113
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1182
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1250
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1313
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1422
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:1720
Method
app
(scope, receive, send)
tests/test_http2_h2c.py:2160
Function
app_factory
(global_options, **local_options)
examples/log_app.py:11
Function
app_module
Create a temporary app module.
tests/test_signal_integration.py:74
Function
app_module
Create a temporary app module.
tests/test_control_socket_integration.py:85
← previous
next →
1,801–1,900 of 5,599, ranked by callers