Table of Contents

Class RequestData

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll
public class RequestData
Inheritance
RequestData
Inherited Members

Constructors

RequestData(HttpMethod, string, PostData, IConnectionConfigurationValues, IRequestParameters, IMemoryStreamFactory)

public RequestData(HttpMethod method, string path, PostData data, IConnectionConfigurationValues global, IRequestParameters local, IMemoryStreamFactory memoryStreamFactory)

Parameters

method HttpMethod
path string
data PostData
global IConnectionConfigurationValues
local IRequestParameters
memoryStreamFactory IMemoryStreamFactory

Fields

MimeType

public const string MimeType = "application/json"

Field Value

string

RunAsSecurityHeader

public const string RunAsSecurityHeader = "es-security-runas-user"

Field Value

string

Properties

Accept

public string Accept { get; }

Property Value

string

AllowedStatusCodes

public IEnumerable<int> AllowedStatusCodes { get; }

Property Value

IEnumerable<int>

BasicAuthorizationCredentials

public BasicAuthenticationCredentials BasicAuthorizationCredentials { get; }

Property Value

BasicAuthenticationCredentials

ClientCertificates

public X509CertificateCollection ClientCertificates { get; }

Property Value

X509CertificateCollection

ConnectionSettings

public IConnectionConfigurationValues ConnectionSettings { get; }

Property Value

IConnectionConfigurationValues

CustomConverter

public Func<IApiCallDetails, Stream, object> CustomConverter { get; }

Property Value

Func<IApiCallDetails, Stream, object>

DisableAutomaticProxyDetection

public bool DisableAutomaticProxyDetection { get; }

Property Value

bool

Headers

public NameValueCollection Headers { get; }

Property Value

NameValueCollection

HttpCompression

public bool HttpCompression { get; }

Property Value

bool

KeepAliveInterval

public int KeepAliveInterval { get; }

Property Value

int

KeepAliveTime

public int KeepAliveTime { get; }

Property Value

int

MadeItToResponse

public bool MadeItToResponse { get; set; }

Property Value

bool

MemoryStreamFactory

public IMemoryStreamFactory MemoryStreamFactory { get; }

Property Value

IMemoryStreamFactory

Method

public HttpMethod Method { get; }

Property Value

HttpMethod

Node

public Node Node { get; set; }

Property Value

Node

OnFailureAuditEvent

public AuditEvent OnFailureAuditEvent { get; }

Property Value

AuditEvent

OnFailurePipelineFailure

public PipelineFailure OnFailurePipelineFailure { get; }

Property Value

PipelineFailure

PathAndQuery

public string PathAndQuery { get; }

Property Value

string

PingTimeout

public TimeSpan PingTimeout { get; }

Property Value

TimeSpan

Pipelined

public bool Pipelined { get; }

Property Value

bool

PostData

public PostData PostData { get; }

Property Value

PostData

ProxyAddress

public string ProxyAddress { get; }

Property Value

string

ProxyPassword

public string ProxyPassword { get; }

Property Value

string

ProxyUsername

public string ProxyUsername { get; }

Property Value

string

RequestMimeType

public string RequestMimeType { get; }

Property Value

string

RequestTimeout

public TimeSpan RequestTimeout { get; }

Property Value

TimeSpan

RunAs

public string RunAs { get; }

Property Value

string

SkipDeserializationForStatusCodes

public IReadOnlyCollection<int> SkipDeserializationForStatusCodes { get; }

Property Value

IReadOnlyCollection<int>

ThrowExceptions

public bool ThrowExceptions { get; }

Property Value

bool

Uri

public Uri Uri { get; }

Property Value

Uri