Skeudenn / main/services/http-json / getHtml
Function: getHtml() ​
getHtml(
url,options,source):Promise<string>
Defined in: src/main/services/http-json.ts:129
GETs a web page and returns its HTML. Throws "<source>: …" (translated) when the site is unreachable, times out, or answers anything but a success (a missing page is a 404).
Parameters ​
url ​
string
options ​
source ​
string
Returns ​
Promise<string>