@hpke/ohttp
    Preparing search index...

    Interface OhttpGatewayHandlerParams

    HTTP gateway adapter parameters. The application controls target authorization.

    interface OhttpGatewayHandlerParams {
        gateway: OhttpGateway;
        forward(request: Request): Promise<Response>;
    }
    Index
    gateway: OhttpGateway
    • Return headers that describe the body bytes. Native fetch may decompress a response while retaining Content-Encoding/Content-Length; normalize those headers before returning its decoded body, or use createOhttpFetchForwarder.

      Parameters

      • request: Request

      Returns Promise<Response>