@microsoft/kiota-abstractions
Version:
Core abstractions for kiota generated libraries in TypeScript and JavaScript
12 lines • 412 B
TypeScript
/**
* Validates the protocol of the url.
* @param url - The url to validate.
*/
export declare function validateProtocol(url: string): void;
/**
* Checks if the url is a localhost url.
* @param urlString - The url to check.
* @returns True if the url is a localhost url, false otherwise.
*/
export declare function isLocalhostUrl(urlString: string): boolean;
//# sourceMappingURL=validateProtocol.d.ts.map