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

PropertyTypeDescription
numSockets?numberNumber of sockets to preconnect. Must be between 1 and 6.
urlstringURL for preconnect. Only the origin is relevant for opening the socket.