@azure/static-web-apps-cli
Version:
Azure Static Web Apps CLI
7 lines • 871 B
TypeScript
import type http from "node:http";
export declare function getResponse(req: http.IncomingMessage, res: http.ServerResponse, matchedRoute: SWAConfigFileRoute | undefined, userConfig: SWAConfigFile | undefined, isFunctionRequest: boolean, isDataApiRequest: boolean): boolean;
export declare function getStorageContent(req: http.IncomingMessage, res: http.ServerResponse, pathToServe: string | undefined, matchedRoute: SWAConfigFileRoute | undefined, responseOverridesRule: SWAConfigFileResponseOverrides | undefined, navigationFallbackRule: SWAConfigFileNavigationFallback | undefined, mimeTypeRule: SWAConfigFileMimeTypes | undefined, routeHeaders: SWAConfigFileRouteHeaders | undefined, globalHeaders: SWAConfigFileGlobalHeaders | undefined): {
isFunctionFallbackRequest: boolean;
isSuccessfulSiteHit: boolean;
};
//# sourceMappingURL=response.middleware.d.ts.map