Skip to main content

Interface IRawEndpoint

Namespace: Consul
Assembly: Consul.dll

The interface for the Raw API Endpoints

public interface IRawEndpoint

Methods

Query(string, QueryOptions, CancellationToken)

Task<QueryResult<dynamic>> Query(string endpoint, QueryOptions q, CancellationToken ct = default)

Parameters

endpoint string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <dynamic>>

Write(string, object, WriteOptions, CancellationToken)

Task<WriteResult<dynamic>> Write(string endpoint, object obj, WriteOptions q, CancellationToken ct = default)

Parameters

endpoint string

obj object

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <dynamic>>

  • Methods
    • Query(string, QueryOptions, CancellationToken)
    • Write(string, object, WriteOptions, CancellationToken)