@azure-tools/uri
Version:
Common URI handling code.
17 lines • 529 B
TypeScript
/**
* Loads a UTF8 string from given URI.
* @uri to load. Can be a remote url or a local file path(using file: protocol).
*/
export declare function readUri(uri: string, headers?: {
[key: string]: string;
}): Promise<string>;
export declare function existsUri(uri: string): Promise<boolean>;
/**
* @deprecated use readUri instead
*/
export declare const ReadUri: typeof readUri;
/**
* @deprecated use existsUri instead
*/
export declare const ExistsUri: typeof existsUri;
//# sourceMappingURL=data-acquisition.d.ts.map