UNPKG

workbox-routing

Version:

A service worker helper library to route request URLs to handlers.

20 lines (19 loc) 476 B
import '../_version.js'; 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. * * @type {string} * * @private */ export declare const defaultMethod: HTTPMethod; /** * The list of valid HTTP methods associated with requests that could be routed. * * @type {Array<string>} * * @private */ export declare const validMethods: HTTPMethod[];