node-web-mvc
Version:
node spring mvc
16 lines (15 loc) • 355 B
TypeScript
/**
* @module HttpMethod
* @description 请求谓词枚举
*/
declare enum HttpMethod {
GET = "GET",
POST = "POST",
PUT = "PUT",
DELETE = "DELETE",
PATCH = "PATCH",
HEAD = "HEAD",
OPTIONS = "OPTIONS"
}
export type HttpMethodKeys = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
export default HttpMethod;