@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Interface SandboxNetworkProxyRoute

    A proxy rule injecting headers and body fields into requests to its destinations.

    interface SandboxNetworkProxyRoute {
        body?: Record<string, string>;
        destinations?: string[];
        headers?: Record<string, string>;
        secrets?: Record<string, string>;
    }
    Index
    body?: Record<string, string>

    Body fields to inject. Values may reference {{SECRET:name}} from secrets.

    destinations?: string[]

    Destination domains the rule applies to. ["*"] matches all.

    headers?: Record<string, string>

    Headers to inject. Values may reference {{SECRET:name}} from secrets.

    secrets?: Record<string, string>

    Named secret values for this rule. Write-only, so always unset on SandboxInfo.