Skip to content

Session.preconnect method

Session › preconnect

Unofficial

Preconnects the given number of sockets to an origin.

Signature:

preconnect(options: ElectronPreconnectOptions): void

Parameters:

Parameter Type Description
options ElectronPreconnectOptions Options describing the origin and number of sockets.

Returns: void