gen-jhipster
Version:
Spring Boot + Angular/React/Vue in one handy generator
11 lines (10 loc) • 409 B
TypeScript
/**
* @private
* Function to issue a https get request, and process the result
*
* @param {string} url - the url to fetch
* @param {function} onSuccess - function, which gets called when the request succeeds, with the body of the response
* @param {function} onFail - callback when the get failed.
*/
declare const httpsGet: (url: any, onSuccess: any, onFail: any) => void;
export default httpsGet;