Skip to main content

Class Connect

Namespace: Consul
Assembly: Consul.dll

public class Connect : IConnectEndpoint

Inheritance

objectConnect

Implements

IConnectEndpoint

Inherited Members

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Methods

CAGetConfig(CancellationToken)

CAGetConfig returns the current CA configuration.

public Task<QueryResult<CAConfig>> CAGetConfig(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <CAConfig >>

CAGetConfig(QueryOptions, CancellationToken)

CAGetConfig returns the current CA configuration.

public Task<QueryResult<CAConfig>> CAGetConfig(QueryOptions q, CancellationToken ct = default)

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <CAConfig >>

CARoots(CancellationToken)

CARoots queries the list of available roots.

public Task<QueryResult<CARoots>> CARoots(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <CARoots >>

CARoots(QueryOptions, CancellationToken)

CARoots queries the list of available roots.

public Task<QueryResult<CARoots>> CARoots(QueryOptions q, CancellationToken ct = default)

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <CARoots >>

  • Methods
    • CAGetConfig(CancellationToken)
    • CAGetConfig(QueryOptions, CancellationToken)
    • CARoots(CancellationToken)
    • CARoots(QueryOptions, CancellationToken)