Skip to main content

Class ConsulResult

Namespace: Consul
Assembly: Consul.dll

public abstract class ConsulResult

Inheritance

objectConsulResult

Derived

QueryResult , WriteResult

Inherited Members

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

Constructors

ConsulResult()

public ConsulResult()

ConsulResult(ConsulResult)

public ConsulResult(ConsulResult other)

Parameters

other ConsulResult

Properties

RequestTime

How long the request took

public TimeSpan RequestTime { get; set; }

Property Value

TimeSpan

StatusCode

Exposed so that the consumer can to check for a specific status code

public HttpStatusCode StatusCode { get; set; }

Property Value

HttpStatusCode