UNPKG

767 BPlain TextView Raw
1/**
2 * -------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4 * See License in the project root for license information.
5 * -------------------------------------------------------------------------------------------
6 */
7
8/**
9 * @enum
10 * Enum for RequestMethods
11 * @property {string} GET - The get request type
12 * @property {string} PATCH - The patch request type
13 * @property {string} POST - The post request type
14 * @property {string} PUT - The put request type
15 * @property {string} DELETE - The delete request type
16 */
17export enum RequestMethod {
18 GET = "GET",
19 PATCH = "PATCH",
20 POST = "POST",
21 PUT = "PUT",
22 DELETE = "DELETE",
23}