botbook/node_modules/@azure/static-web-apps-cli/dist/msha/routes-engine/route-processor.d.ts
Rodrigo Rodriguez 6ae15fe3e5 Updated.
2024-09-04 13:13:15 -03:00

10 lines
No EOL
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