Edytuj

Udostępnij za pośrednictwem


ConsulClusteringOptions.ConfigureConsulClient Method

Definition

Overloads

ConfigureConsulClient(Func<IConsulClient>)

Configures the CreateClient using the provided callback.

ConfigureConsulClient(Uri, String)

Configures the CreateClient using the consul-address and a acl-token.

ConfigureConsulClient(Func<IConsulClient>)

Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs

Configures the CreateClient using the provided callback.

public void ConfigureConsulClient (Func<Consul.IConsulClient> createClientCallback);
member this.ConfigureConsulClient : Func<Consul.IConsulClient> -> unit
Public Sub ConfigureConsulClient (createClientCallback As Func(Of IConsulClient))

Parameters

createClientCallback
Func<Consul.IConsulClient>

Applies to

ConfigureConsulClient(Uri, String)

Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs

Configures the CreateClient using the consul-address and a acl-token.

public void ConfigureConsulClient (Uri address, string aclClientToken = default);
member this.ConfigureConsulClient : Uri * string -> unit
Public Sub ConfigureConsulClient (address As Uri, Optional aclClientToken As String = Nothing)

Parameters

address
Uri
aclClientToken
String

Applies to