Shared backend-free route classification, host authorization and version selection for HTTP and raw listener adapters.
Summary
Functions
Authorize an origin-form request using a host callback module. The request includes its method, original encoded path and raw query. The listener can include peer information for the host to authenticate.
Types
@type rejection() :: {:error, pos_integer(), String.t()}
Functions
Authorize an origin-form request using a host callback module. The request includes its method, original encoded path and raw query. The listener can include peer information for the host to authenticate.