@jmfetchify/fetchify
Version:
A lightweight HTTP client library for client and server-side usage.
18 lines (17 loc) • 581 B
TypeScript
/**
* Enum representing the available HTTP methods.
* @readonly
* @enum {string}
*/
export declare enum HTTP_METHDOS {
/** HTTP GET method. Used for retrieving data from the server. */
GET = "GET",
/** HTTP POST method. Used for sending data to the server. */
POST = "POST",
/** HTTP PUT method. Used for updating existing data on the server. */
PUT = "PUT",
/** HTTP DELETE method. Used for deleting data from the server. */
DELETE = "DELETE",
/** HTTP PATCH method. Used for partially updating data on the server. */
PATCH = "PATCH"
}