Gets or internal sets a custom server address resolver used by the routing driver to resolve the initial address used to create the driver.
Such resolution happens: 1) during the very first rediscovery when driver is created.
2) when all the known routers from the current routing table have failed and driver needs to fallback to the initial address.
Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
public ConfigBuilder WithResolver(
Public Function WithResolver (
resolver As IServerAddressResolver
) As ConfigBuilder
member WithResolver :
resolver : IServerAddressResolver -> ConfigBuilder
- Type: Neo4j.DriverIServerAddressResolver
The resolver, default to a resolver that simply pass the initial server address as it is.
instance for further configuration options.