@hpke/ohttp
    Preparing search index...

    Interface OhttpGatewayContext

    Gateway-side binary HTTP exchange. EOF establishes authenticated completion.

    interface OhttpGatewayContext {
        body: ReadableStream<Uint8Array<ArrayBufferLike>>;
        encapsulateResponse(
            source: OhttpSource,
        ): Promise<
            {
                body: ReadableStream<Uint8Array<ArrayBufferLike>>;
                contentType: string;
            },
        >;
    }
    Index
    body: ReadableStream<Uint8Array<ArrayBufferLike>>
    • Parameters

      Returns Promise<
          {
              body: ReadableStream<Uint8Array<ArrayBufferLike>>;
              contentType: string;
          },
      >