WebBrowser::AsyncGotoWebPage (open)

Open a URL in the webbrowser (GET request), runs asynchronously

Syntax

LOADLIB "wh::internet/webbrowser.whlib";

ASYNC FUNCTION AsyncGotoWebPage(STRING url, RECORD options)

Parameters

STRING url

URL to go to

RECORD options

Options

RECORD ARRAY headers

Additional headers to send in the request

STRING headers.field

Header name

STRING headers.value

Header contents

Return value

Promise, which fulfills when the request has completed. Resolves to TRUE on success