@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
22 lines (21 loc) • 439 B
TypeScript
/**
* Provides a mockable layer between the tools below and window.location.
*/
export declare class LocationService {
/**
* The pathname part of the URL.
*/
get pathname(): string;
/**
* The port part of the URL.
*/
get port(): string;
/**
* The hostname part of the URL.
*/
get hostname(): string;
/**
* The protocol part of the URL.
*/
get protocol(): string;
}