http-directives
Version:
A TypeScript-friendly package that provides strongly-typed HTTP constants
25 lines (23 loc) • 502 B
JavaScript
// src/directives/methods.ts
var Methods = class {
};
Methods.CONNECT = "CONNECT";
Methods.COPY = "COPY";
Methods.DELETE = "DELETE";
Methods.GET = "GET";
Methods.HEAD = "HEAD";
Methods.LINK = "LINK";
Methods.LOCK = "LOCK";
Methods.OPTIONS = "OPTIONS";
Methods.PATCH = "PATCH";
Methods.POST = "POST";
Methods.PROPFIND = "PROPFIND";
Methods.PURGE = "PURGE";
Methods.PUT = "PUT";
Methods.TRACE = "TRACE";
Methods.UNLINK = "UNLINK";
Methods.UNLOCK = "UNLOCK";
Methods.VIEW = "VIEW";
export {
Methods
};