Fetch (open)

Fetch a HTTP resource

Syntax

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

ASYNC FUNCTION Fetch(STRING uri, RECORD options, RECORD pooloptions)

Parameters

STRING uri

URI of the resource

RECORD options

Fetch options

RECORD pooloptions

Pool options

Return value

Promise resvoling to a Response