Interface IResolverConfig

RPC Resolver configuration options

interface IResolverConfig {
    tls?: boolean;
    urls?: string[];
}

Properties

Properties

tls?: boolean

Use strict TLS for RPC connections. If not set or false (default), the resolver will provide the best available connection regardless of whether this connection supports TLS or not. If set to true, the resolver will only provide TLS-enabled connections.

This setting is ignored in the browser environment when the browser navigator location is https. In which case the resolver will always use TLS-enabled connections.

urls?: string[]

Optional URLs for one or multiple resolvers.

Generated using TypeDoc