Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(url, ?headers, ?serverType)

Full Usage: Options(url, ?headers, ?serverType)

Parameters:
    url : string -
    ?headers : Record<string, string> - ⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || HTTP request headers.
    ?serverType : ServerType - ⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || Can be json or default, see the Squirrel.Mac README for more information.

Returns: Options
url : string

?headers : Record<string, string>

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || HTTP request headers.

?serverType : ServerType

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || Can be json or default, see the Squirrel.Mac README for more information.

Returns: Options

Instance members

Instance member Description

this.headers

Full Usage: this.headers

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ HTTP request headers.

this.serverType

Full Usage: this.serverType

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Can be json or default, see the Squirrel.Mac README for more information.

this.url

Full Usage: this.url

Type something to start searching.