USAGE:(1) User Commands USAGE:(1)

usage: - ASGI Server based on Hyper libraries and inspired by Gunicorn

usage: hypercorn [-h] [--access-log ACCESS_LOG]

[--access-logfile ACCESS_LOGFILE] [--access-logformat ACCESS_LOGFORMAT] [--backlog BACKLOG] [-b BINDS] [--ca-certs CA_CERTS] [--certfile CERTFILE] [--cert-reqs CERT_REQS] [--ciphers CIPHERS] [-c CONFIG] [--debug] [--error-log ERROR_LOG] [--error-logfile ERROR_LOGFILE] [--graceful-timeout GRACEFUL_TIMEOUT] [--read-timeout READ_TIMEOUT] [-g GROUP] [-k WORKER_CLASS] [--keep-alive KEEP_ALIVE] [--keyfile KEYFILE] [--keyfile-password KEYFILE_PASSWORD] [--insecure-bind INSECURE_BINDS] [--log-config LOG_CONFIG] [--log-level LOG_LEVEL] [-p PID] [--quic-bind QUIC_BINDS] [--reload] [--root-path ROOT_PATH] [--server-name SERVER_NAMES] [--statsd-host STATSD_HOST] [--statsd-prefix STATSD_PREFIX] [-m UMASK] [-u USER] [--verify-mode VERIFY_MODE] [--websocket-ping-interval WEBSOCKET_PING_INTERVAL] [-w WORKERS] application

The application to dispatch to as path.to.module:instance.path

show this help message and exit
Deprecated, see access-logfile
The target location for the access log, use `-` for stdout
The log format for the access log, see help docs
The maximum number of pending connections
The TCP host/address to bind to. Should be either host:port, host, unix:path or fd://num, e.g. 127.0.0.1:5000, 127.0.0.1, unix:/tmp/socket or fd://33 respectively.
Path to the SSL CA certificate file
Path to the SSL certificate file
See verify mode argument
Ciphers to use for the SSL setup
Location of a TOML config file, or when prefixed with `file:` a Python file, or when prefixed with `python:` a Python module.
Enable debug mode, i.e. extra logging and checks
Deprecated, see error-logfile
The target location for the error log, use `-` for stderr
Time to wait after SIGTERM or Ctrl-C for any remaining requests (tasks) to complete.
Seconds to wait before timing out reads on TCP sockets
Group to own any unix sockets.
The type of worker to use. Options include asyncio, uvloop (pip install hypercorn[uvloop]), and trio (pip install hypercorn[trio]).
Seconds to keep inactive connections alive for
Path to the SSL key file
Password to decrypt the SSL key file
The TCP host/address to bind to. SSL options will not apply to these binds. See *bind* for formatting options. Care must be taken! See HTTP -> HTTPS redirection docs.
"A Python logging configuration file. This can be prefixed with 'json:' or 'toml:' to load the configuration from a file in that format. Default is the logging ini format.
The (error) log level, defaults to info
Location to write the PID (Program ID) to.
The UDP/QUIC host/address to bind to. See *bind* for formatting options.
Enable automatic reloads on code changes
The setting for the ASGI root_path variable
The hostnames that can be served, requests to different hosts will be responded to with 404s.
The host:port of the statsd server
Prefix for all statsd messages
The permissions bit mask to use on any unix sockets.
User to own any unix sockets.
SSL verify mode for peer's certificate, see ssl.VerifyMode enum for possible values.
If set this is the time in seconds between pings sent to the client. This can be used to keep the websocket connection alive.
The number of workers to spawn and use
[--access-logfile ACCESS_LOGFILE] [--access-logformat ACCESS_LOGFORMAT] [--backlog BACKLOG] [-b BINDS] [--ca-certs CA_CERTS] [--certfile CERTFILE] [--cert-reqs CERT_REQS] [--ciphers CIPHERS] [-c CONFIG] [--debug] [--error-log ERROR_LOG] [--error-logfile ERROR_LOGFILE] [--graceful-timeout GRACEFUL_TIMEOUT] [--read-timeout READ_TIMEOUT] [-g GROUP] [-k WORKER_CLASS] [--keep-alive KEEP_ALIVE] [--keyfile KEYFILE] [--keyfile-password KEYFILE_PASSWORD] [--insecure-bind INSECURE_BINDS] [--log-config LOG_CONFIG] [--log-level LOG_LEVEL] [-p PID] [--quic-bind QUIC_BINDS] [--reload] [--root-path ROOT_PATH] [--server-name SERVER_NAMES] [--statsd-host STATSD_HOST] [--statsd-prefix STATSD_PREFIX] [-m UMASK] [-u USER] [--verify-mode VERIFY_MODE] [--websocket-ping-interval WEBSOCKET_PING_INTERVAL] [-w WORKERS] application

hypercorn: error: the following arguments are required: application

The full documentation for usage: is maintained as a Texinfo manual. If the info and usage: programs are properly installed at your site, the command

info usage:

should give you access to the complete manual.

July 2023 usage: hypercorn [-h] [--access-log ACCESS_LOG]