@villedemontreal/http-request
Version:
HTTP utilities - send HTTP requests with proper headers, etc.
23 lines • 794 B
TypeScript
import { ILogger } from '@villedemontreal/logger';
/**
* Inits the library.
*/
export declare function init(loggerCreator: (name: string) => ILogger, correlationIdProvider: () => string,
/**
* The case sensitivity to use for the URLs.
*
* In an API based on "@villemontreal/generator-mtl-node-api",
* you need to pass `configs.routing.caseSensitive` here!
*/
urlCaseSensitive: boolean): void;
/**
* Is the library properly initialized?
*
* This function MUST be named "isInited()"!
* Code using this library may loop over all its "@villemontreal"
* dependencies and, if one of those exports a "isInited" fonction,
* it will enforce that the lib has been properly initialized before
* starting...
*/
export declare function isInited(): boolean;
//# sourceMappingURL=init.d.ts.map