Class ApiCallDetails
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class ApiCallDetails : IApiCallDetails
Properties
| Edit this page View SourceAuditTrail
An audit trail of requests made to nodes within the cluster
Declaration
public List<Audit> AuditTrail { get; set; }
Property Value
Type | Description |
---|---|
List<Audit> |
ConnectionConfiguration
Reference to the connection configuration that yielded this response
Declaration
public IConnectionConfigurationValues ConnectionConfiguration { get; set; }
Property Value
Type | Description |
---|---|
IConnectionConfigurationValues |
DebugInformation
A human readable string representation of what happened during this request for both successful and failed requests.
Declaration
public string DebugInformation { get; }
Property Value
Type | Description |
---|---|
string |
DeprecationWarnings
A collection of deprecation warnings returned from OpenSearch.
Used to signal that the request uses an API feature that is marked as deprecated
Declaration
public IEnumerable<string> DeprecationWarnings { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
HttpMethod
The HTTP method used by the request
Declaration
public HttpMethod HttpMethod { get; set; }
Property Value
Type | Description |
---|---|
HttpMethod |
HttpStatusCode
The HTTP status code as returned by OpenSearch
Declaration
public int? HttpStatusCode { get; set; }
Property Value
Type | Description |
---|---|
int? |
OriginalException
If Success is false
, this will hold the original exception.
This will be the originating CLR exception in most cases.
Declaration
public Exception OriginalException { get; set; }
Property Value
Type | Description |
---|---|
Exception |
RequestBodyInBytes
The request body bytes.
NOTE: Only set when disable direct streaming is set for the request
Declaration
public byte[] RequestBodyInBytes { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
ResponseBodyInBytes
The response body bytes.
NOTE: Only set when disable direct streaming is set for the request
Declaration
public byte[] ResponseBodyInBytes { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
ResponseMimeType
The response MIME type
Declaration
public string ResponseMimeType { get; set; }
Property Value
Type | Description |
---|---|
string |
Success
The response status code is in the 200 range or is in the allowed list of status codes set on the request.
Declaration
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
bool |
SuccessOrKnownError
The response is successful or has a response code between 400-599, the call should not be retried. Only on 502,503 and 504 will this return false;
Declaration
public bool SuccessOrKnownError { get; }
Property Value
Type | Description |
---|---|
bool |
TcpStats
Active TCP connection statistics collected when making a request
Declaration
public ReadOnlyDictionary<TcpState, int> TcpStats { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyDictionary<TcpState, int> |
ThreadPoolStats
Thread pool thread statistics collected when making a request
Declaration
public ReadOnlyDictionary<string, ThreadPoolStatistics> ThreadPoolStats { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyDictionary<string, ThreadPoolStatistics> |
Uri
The url as requested
Declaration
public Uri Uri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |