open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
19 lines (18 loc) • 566 B
TypeScript
import { HttpHandlerOptions, RequestHandler } from "@smithy/types";
import { HttpRequest } from "./httpRequest";
import { HttpResponse } from "./httpResponse";
/**
* @internal
*/
export type HttpHandler<HttpHandlerConfig extends object = {}> = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions> & {
/**
* @internal
* @param key
* @param value
*/
updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void;
/**
* @internal
*/
httpHandlerConfigs(): HttpHandlerConfig;
};