Class RequestData
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
Constructors
|
Edit this page
View Source
RequestData(HttpMethod, string, PostData, IConnectionConfigurationValues, IRequestParameters, IMemoryStreamFactory)
Declaration
public RequestData(HttpMethod method, string path, PostData data, IConnectionConfigurationValues global, IRequestParameters local, IMemoryStreamFactory memoryStreamFactory)
Parameters
Fields
|
Edit this page
View Source
MimeType
Declaration
public const string MimeType = "application/json"
Field Value
|
Edit this page
View Source
MimeTypeTextPlain
Declaration
public const string MimeTypeTextPlain = "text/plain"
Field Value
|
Edit this page
View Source
Declaration
public const string OpaqueIdHeader = "X-Opaque-Id"
Field Value
|
Edit this page
View Source
Declaration
public const string RunAsSecurityHeader = "opensearch-security-runas-user"
Field Value
Properties
|
Edit this page
View Source
Accept
Declaration
public string Accept { get; }
Property Value
|
Edit this page
View Source
AllowedStatusCodes
Declaration
public IReadOnlyCollection<int> AllowedStatusCodes { get; }
Property Value
|
Edit this page
View Source
ApiKeyAuthenticationCredentials
Declaration
public ApiKeyAuthenticationCredentials ApiKeyAuthenticationCredentials { get; }
Property Value
|
Edit this page
View Source
BasicAuthorizationCredentials
Declaration
public BasicAuthenticationCredentials BasicAuthorizationCredentials { get; }
Property Value
|
Edit this page
View Source
ClientCertificates
Declaration
public X509CertificateCollection ClientCertificates { get; }
Property Value
|
Edit this page
View Source
ConnectionSettings
Declaration
public IConnectionConfigurationValues ConnectionSettings { get; }
Property Value
|
Edit this page
View Source
CustomResponseBuilder
Declaration
public CustomResponseBuilderBase CustomResponseBuilder { get; }
Property Value
|
Edit this page
View Source
DisableAutomaticProxyDetection
Declaration
public bool DisableAutomaticProxyDetection { get; }
Property Value
|
Edit this page
View Source
DnsRefreshTimeout
Declaration
public TimeSpan DnsRefreshTimeout { get; }
Property Value
|
Edit this page
View Source
Declaration
public NameValueCollection Headers { get; }
Property Value
|
Edit this page
View Source
HttpCompression
Declaration
public bool HttpCompression { get; }
Property Value
|
Edit this page
View Source
IsAsync
Declaration
public bool IsAsync { get; }
Property Value
|
Edit this page
View Source
KeepAliveInterval
Declaration
public int KeepAliveInterval { get; }
Property Value
|
Edit this page
View Source
KeepAliveTime
Declaration
public int KeepAliveTime { get; }
Property Value
|
Edit this page
View Source
MadeItToResponse
Declaration
public bool MadeItToResponse { get; set; }
Property Value
|
Edit this page
View Source
MemoryStreamFactory
Declaration
public IMemoryStreamFactory MemoryStreamFactory { get; }
Property Value
|
Edit this page
View Source
Declaration
public MetaHeaderProvider MetaHeaderProvider { get; }
Property Value
|
Edit this page
View Source
Method
Declaration
public HttpMethod Method { get; }
Property Value
|
Edit this page
View Source
Node
Declaration
public Node Node { get; set; }
Property Value
|
Edit this page
View Source
OnFailureAuditEvent
Declaration
public AuditEvent OnFailureAuditEvent { get; }
Property Value
|
Edit this page
View Source
OnFailurePipelineFailure
Declaration
public PipelineFailure OnFailurePipelineFailure { get; }
Property Value
|
Edit this page
View Source
OperationName
The OpenSearch REST API operation name this request maps to (for example search), or null
when unknown. Used as the OpenTelemetry span name and db.operation tag.
Declaration
public string OperationName { get; }
Property Value
|
Edit this page
View Source
PathAndQuery
Declaration
public string PathAndQuery { get; }
Property Value
|
Edit this page
View Source
PingTimeout
Declaration
public TimeSpan PingTimeout { get; }
Property Value
|
Edit this page
View Source
Pipelined
Declaration
public bool Pipelined { get; }
Property Value
|
Edit this page
View Source
PostData
Declaration
public PostData PostData { get; }
Property Value
|
Edit this page
View Source
ProxyAddress
Declaration
public string ProxyAddress { get; }
Property Value
|
Edit this page
View Source
ProxyPassword
Declaration
public SecureString ProxyPassword { get; }
Property Value
|
Edit this page
View Source
ProxyUsername
Declaration
public string ProxyUsername { get; }
Property Value
|
Edit this page
View Source
Declaration
public IReadOnlyDictionary<string, string> RequestMetaData { get; }
Property Value
|
Edit this page
View Source
RequestMimeType
Declaration
public string RequestMimeType { get; }
Property Value
|
Edit this page
View Source
RequestTimeout
Declaration
public TimeSpan RequestTimeout { get; }
Property Value
|
Edit this page
View Source
RunAs
Declaration
public string RunAs { get; }
Property Value
|
Edit this page
View Source
SkipDeserializationForStatusCodes
Declaration
public IReadOnlyCollection<int> SkipDeserializationForStatusCodes { get; }
Property Value
|
Edit this page
View Source
TcpStats
Declaration
public bool TcpStats { get; }
Property Value
|
Edit this page
View Source
ThreadPoolStats
Declaration
public bool ThreadPoolStats { get; }
Property Value
|
Edit this page
View Source
ThrowExceptions
Declaration
public bool ThrowExceptions { get; }
Property Value
|
Edit this page
View Source
TransferEncodingChunked
Declaration
public bool TransferEncodingChunked { get; }
Property Value
|
Edit this page
View Source
Uri
Declaration
Property Value
|
Edit this page
View Source
UserAgent
Declaration
public string UserAgent { get; }
Property Value
Methods
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Extension Methods