Skip to main content

Module cli

Module cli 

Source
Available on crate features cli and std only.
Expand description

rama cli utilities

Modules§

servicehaproxy and http and net
Reusable CLI Services.

Enums§

ForwardKind
Kind of fowarder to use, to help you forward the client Ip information.

Constants§

DEFAULT_CONNECTION_GRACE
How long a connection may still run once it drains, unless configured otherwise.

Functions§

connection_scope
Runs each served connection in a scope below parent that starts draining once it is max_age old, give or take a tenth so connections opened together do not drain together, and is aborted at most grace after it starts draining for any reason, sooner when parent reaches its own hard phase first; zero max_age sets no age.