UNPKG

http-directives

Version:

A TypeScript-friendly package that provides strongly-typed HTTP constants

22 lines (20 loc) 676 B
declare class Methods { static readonly CONNECT = "CONNECT"; static readonly COPY = "COPY"; static readonly DELETE = "DELETE"; static readonly GET = "GET"; static readonly HEAD = "HEAD"; static readonly LINK = "LINK"; static readonly LOCK = "LOCK"; static readonly OPTIONS = "OPTIONS"; static readonly PATCH = "PATCH"; static readonly POST = "POST"; static readonly PROPFIND = "PROPFIND"; static readonly PURGE = "PURGE"; static readonly PUT = "PUT"; static readonly TRACE = "TRACE"; static readonly UNLINK = "UNLINK"; static readonly UNLOCK = "UNLOCK"; static readonly VIEW = "VIEW"; } export { Methods };