Skip to content

ElectronPreconnectOptions

Unofficial

Options controlling how sockets are preconnected to an origin.

Import:

import type { ElectronPreconnectOptions } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronPreconnectOptions

Properties

Property Type Description
numSockets? number Number of sockets to preconnect. Must be between 1 and 6.
url string URL for preconnect. Only the origin is relevant for opening the socket.