@hpke/ohttp
    Preparing search index...

    Interface OhttpFetchForwarderParams

    Parameters of a forward callback that fetches allowed targets.

    interface OhttpFetchForwarderParams {
        allowedOrigins: Iterable<string | URL>;
        fetch?: (request: Request, init?: RequestInit) => Promise<Response>;
    }
    Index
    allowedOrigins: Iterable<string | URL>

    Origins (for example https://target.example) the gateway may reach.

    fetch?: (request: Request, init?: RequestInit) => Promise<Response>

    The fetch implementation used to reach targets. Defaults to fetch.