Skip to content

ElectronApp.configureHostResolver method

ElectronApp › configureHostResolver

Unofficial

Configures host resolution (DNS and DNS-over-HTTPS). Must be called after the ready event.

Signature:

configureHostResolver(options: ElectronConfigureHostResolverOptions): void

Parameters:

Parameter Type Description
options ElectronConfigureHostResolverOptions The host resolver options.

Returns: void