@cpanel/api
Version:
cPanel API JavaScript and TypeScript interface libraries. This library provides a set of classes for calling cPanel WHM API 1 and UAPI calls. The classes hide much of the complexity of these APIs behind classes the abstract the underlying variances betwee
42 lines (41 loc) • 527 B
TypeScript
/**
* Common http verbs
*/
export declare enum HttpVerb {
/**
* Get request
*/
GET = 0,
/**
* Head request
*/
HEAD = 1,
/**
* Post request
*/
POST = 2,
/**
* Put request
*/
PUT = 3,
/**
* Delete request
*/
DELETE = 4,
/**
* Connect request
*/
CONNECT = 5,
/**
* Options request
*/
OPTIONS = 6,
/**
* Trace request
*/
TRACE = 7,
/**
* Patch request
*/
PATCH = 8
}