@villedemontreal/http-request
Version:
HTTP utilities - send HTTP requests with proper headers, etc.
41 lines • 1.08 kB
TypeScript
/**
* Library constants
*/
export declare class Constants {
/**
* The library root. When this library is used
* as a dependency in a project, the "libRoot"
* will be the path to the dependency folder,
* inside the "node_modules".
*/
libRoot: string;
/**
* The app root. When this library is used
* as a dependency in a project, the "appRoot"
* will be the path to the root project!
*/
appRoot: string;
constructor();
/**
* Requests constants
*/
get request(): {
/**
* Default timeout constants
*/
timeoutsDefault: {
/**
* The default number of milliseconds to wait
* for the server to start sending data.
*/
response: number;
/**
* The default number of milliseconds to wait
* for the data to finish loading.
*/
deadline: number;
};
};
}
export declare const constants: Constants;
//# sourceMappingURL=constants.d.ts.map