Plug.Router for the local H HTTP/JSON and SSE daemon.
Runtime options:
:port- expected HTTP port forHost/Originchecks (defaults toconn.portwhen omitted or0):auth_server-H.AuthGenServer name/pid (defaultH.Auth):auth_table-H.AuthETS table name (default:h_auth):daemon- transport-agnostic backend module (defaultH.Daemon):daemon_opts- keyword list forwarded todaemoncalls (default[]):allow_localhost- allowlocalhost:<port>inHost/Originchecks (defaultfalse):unix_socket- treat connections as Unix domain socket requests (defaultfalse; also auto-detected viaconn.remote_ip):sse_keepalive_ms- SSE: keepaliveinterval in ms (default15_000):sse_max_queue_len- max mailbox messages before SSE snapshot reset (default128):sse_max_queue_bytes- max process memory bytes before SSE snapshot reset (default2_097_152)
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.