UNPKG

http-toolkit

Version:

Well-documented toolkit for making elegant HTTP requests with JavaScript

36 lines (33 loc) 718 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpMethods = void 0; /** * @module HttpMethods * @category Models and Constants */ /** * Common HttpMethods * @readonly * @example HttpMethods.GET * @property {string} DELETE 'DELETE' * @property {string} GET 'GET' * @property {string} OPTIONS 'OPTIONS' * @property {string} PATCH 'PATCH' * @property {string} POST 'POST' * @property {string} PUT 'PUT' * @property - and more... */ var HttpMethods = { CONNECT: 'CONNECT', DELETE: 'DELETE', GET: 'GET', HEAD: 'HEAD', OPTIONS: 'OPTIONS', PATCH: 'PATCH', POST: 'POST', PUT: 'PUT', TRACE: 'TRACE' }; exports.HttpMethods = HttpMethods;