Interface IEventEndpoint
Namespace: Consul
Assembly: Consul.dll
The interface for the Event API Endpoints
public interface IEventEndpoint
Methods
Fire(UserEvent, CancellationToken)
Task<WriteResult<string>> Fire(UserEvent ue, CancellationToken ct = default)
Parameters
ue
UserEvent
Returns
Task <WriteResult <string >>
Fire(UserEvent, WriteOptions, CancellationToken)
Task<WriteResult<string>> Fire(UserEvent ue, WriteOptions q, CancellationToken ct = default)
Parameters
ue
UserEvent
Returns
Task <WriteResult <string >>
IDToIndex(string)
ulong IDToIndex(string uuid)
Parameters
uuid
string
Returns
List(CancellationToken)
Task<QueryResult<UserEvent[]>> List(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <UserEvent []>>
List(string, CancellationToken)
Task<QueryResult<UserEvent[]>> List(string name, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <UserEvent []>>
List(string, QueryOptions, CancellationToken)
Task<QueryResult<UserEvent[]>> List(string name, QueryOptions q, CancellationToken ct = default)
Parameters
name
string
Returns
Task <QueryResult <UserEvent []>>