@azure/static-web-apps-cli
Version:
Azure Static Web Apps CLI
10 lines • 813 B
TypeScript
import type http from "node:http";
export declare function doesRequestPathMatchRoute(requestPath: string, routeRule: SWAConfigFileRoute | undefined, requestMethod: string | undefined | null, methods: string[] | undefined | null, authStatus: number): boolean | undefined;
export declare function doesRequestPathMatchLegacyRoute(requestPath: string, routeRule: SWAConfigFileRoute | undefined, isAuthRequest: boolean, isFileRequest: boolean): boolean | undefined;
export declare function isCustomUrl(req: http.IncomingMessage): boolean;
export declare function parseQueryParams(req: http.IncomingMessage, matchingRouteRule: SWAConfigFileRoute | undefined): {
url: URL;
urlPathnameWithoutQueryParams: string;
urlPathnameWithQueryParams: string | undefined;
};
//# sourceMappingURL=route-processor.d.ts.map