UNPKG

@azure/static-web-apps-cli

Version:
10 lines 813 B
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