Skip to main content

Options for loading a window URL.

Properties (7)

Property Type Default Required Description
baseURLForDataURL⚓︎ string x x

Base URL for files loaded by a data URL. Must end with a trailing path separator. This property is necessary only when the loaded URL is a data URL.

extraHeaders⚓︎ string x x

A string with extra headers for the request. Separate the headers with a "\n".

httpReferrer⚓︎ (string) | (Referrer) x x

URL for the Referer request header or a Referrer object specifying a URL and a policy for the Referrer-Policy request header.

postData⚓︎ ((UploadBase64Data) | (UploadFile))[] x x

Data for the POST request. The list can contain both UploadFile objects (describing the location and other properties of the file to upload) and UploadBase64Data objects (containing data encoded as a Base64 string).

queryString⚓︎ string x x

Query string that will be appended to the URL when starting the app. If the string doesn't start with a ?, one will be prepended to it. Note that the query string must be URL encoded.

timeout⚓︎ number 120 x

Interval in seconds to wait for the window to navigate.

io.Connect Desktop 9.7
userAgent⚓︎ string x x

Value for the User-Agent request header, describing the user agent originating the request.