Class ConsulRequest
Namespace: Consul
Assembly: Consul.dll
public abstract class ConsulRequest
Inheritance
Derived
DeleteAcceptingRequest<TIn> , DeleteRequest , DeleteReturnRequest<TOut> , GetRequest , GetRequest<TOut> , PostRequest , PostRequest<TIn> , PostRequest<TIn, TOut> , PostReturningRequest<TOut> , PutNothingRequest , PutRequest<TIn, TOut> , PutRequest<TIn> , PutReturningRequest<TOut>
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Methods
ApplyHeaders(HttpRequestMessage, ConsulClientConfiguration)
protected abstract void ApplyHeaders(HttpRequestMessage message, ConsulClientConfiguration clientConfig)
Parameters
message
HttpRequestMessage
clientConfig
ConsulClientConfiguration
ApplyOptions(ConsulClientConfiguration)
protected abstract void ApplyOptions(ConsulClientConfiguration clientConfig)
Parameters
clientConfig
ConsulClientConfiguration
BuildConsulUri(string, Dictionary<string, string>)
protected Uri BuildConsulUri(string url, Dictionary<string, string> p)
Parameters
url
string
p
Dictionary <string , string >
Returns
Deserialize<TOut>(Stream)
protected TOut Deserialize<TOut>(Stream stream)
Parameters
stream
Stream
Returns
TOut
Type Parameters
TOut
Serialize(object)
protected static byte[] Serialize(object value)
Parameters
value
object
Returns
byte []