Skip to main content

Class ConsulRequest

Namespace: Consul
Assembly: Consul.dll

public abstract class ConsulRequest

Inheritance

objectConsulRequest

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

Uri

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 []

  • Methods
    • ApplyHeaders(HttpRequestMessage, ConsulClientConfiguration)
    • ApplyOptions(ConsulClientConfiguration)
    • BuildConsulUri(string, Dictionary<string, string>)
    • Deserialize<TOut>(Stream)
    • Serialize(object)