@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
19 lines (18 loc) • 381 B
TypeScript
import { Headers } from "./utils/headers";
/**
* Abstract data structure used to pass rendered API information to the remoting layer.
*/
export interface RequestInfo {
/**
* List of headers for the request
*/
headers: Headers;
/**
* URL used to make the request.
*/
url: string;
/**
* Body of the request.
*/
body: string;
}