Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(url, ?numSockets)

Full Usage: Options(url, ?numSockets)

Parameters:
    url : string - URL for preconnect. Only the origin is relevant for opening the socket.
    ?numSockets : float - number of sockets to preconnect. Must be between 1 and 6. Defaults to 1.

Returns: Options
url : string

URL for preconnect. Only the origin is relevant for opening the socket.

?numSockets : float

number of sockets to preconnect. Must be between 1 and 6. Defaults to 1.

Returns: Options

Instance members

Instance member Description

this.numSockets

Full Usage: this.numSockets

number of sockets to preconnect. Must be between 1 and 6. Defaults to 1.

this.url

Full Usage: this.url

URL for preconnect. Only the origin is relevant for opening the socket.

Type something to start searching.