serwist
Version:
A Swiss Army knife for service workers.
15 lines • 481 B
TypeScript
export type HTTPMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
/**
* The default HTTP method, 'GET', used when there's no specific method
* configured for a route.
*
* @private
*/
export declare const defaultMethod = "GET";
/**
* The list of valid HTTP methods associated with requests that could be routed.
*
* @private
*/
export declare const validMethods: ("DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT")[];
//# sourceMappingURL=constants.d.ts.map