Class ConsulResult
Namespace: Consul
Assembly: Consul.dll
public abstract class ConsulResult
Inheritance
Derived
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
StatusCode
Exposed so that the consumer can to check for a specific status code
public HttpStatusCode StatusCode { get; set; }