@hpke/ohttp
    Preparing search index...

    Interface OhttpRelayHandlerParams

    Parameters of a relay handler.

    interface OhttpRelayHandlerParams {
        fetch?: (request: Request, init?: RequestInit) => Promise<Response>;
        gatewayUrl: string | URL;
        streamingUpload?: boolean;
    }
    Index
    fetch?: (request: Request, init?: RequestInit) => Promise<Response>

    The fetch implementation used to reach the gateway. Defaults to fetch.

    gatewayUrl: string | URL

    The gateway resource that encapsulated requests are forwarded to.

    streamingUpload?: boolean

    Stream request bodies to the gateway instead of buffering them. Requires a runtime and a gateway connection that support streaming fetch bodies.