mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-23 00:49:14 +08:00
19 lines
484 B
Text
19 lines
484 B
Text
import '../_version.js';
|
|
export declare 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[];
|