Search Results for

    Show / Hide Table of Contents

    Class ApiCallDetails

    Inheritance
    object
    ApiCallDetails
    Implements
    IApiCallDetails
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public class ApiCallDetails : IApiCallDetails

    Properties

    | Edit this page View Source

    AuditTrail

    An audit trail of requests made to nodes within the cluster

    Declaration
    public List<Audit> AuditTrail { get; set; }
    Property Value
    Type Description
    List<Audit>
    | Edit this page View Source

    ConnectionConfiguration

    Reference to the connection configuration that yielded this response

    Declaration
    public IConnectionConfigurationValues ConnectionConfiguration { get; set; }
    Property Value
    Type Description
    IConnectionConfigurationValues
    | Edit this page View Source

    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
    | Edit this page View Source

    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>
    | Edit this page View Source

    HttpMethod

    The HTTP method used by the request

    Declaration
    public HttpMethod HttpMethod { get; set; }
    Property Value
    Type Description
    HttpMethod
    | Edit this page View Source

    HttpStatusCode

    The HTTP status code as returned by OpenSearch

    Declaration
    public int? HttpStatusCode { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    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
    | Edit this page View Source

    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[]
    | Edit this page View Source

    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[]
    | Edit this page View Source

    ResponseMimeType

    The response MIME type

    Declaration
    public string ResponseMimeType { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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
    | Edit this page View Source

    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
    | Edit this page View Source

    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>
    | Edit this page View Source

    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>
    | Edit this page View Source

    Uri

    The url as requested

    Declaration
    public Uri Uri { get; set; }
    Property Value
    Type Description
    Uri

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IApiCallDetails

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • AuditTrail
      • ConnectionConfiguration
      • DebugInformation
      • DeprecationWarnings
      • HttpMethod
      • HttpStatusCode
      • OriginalException
      • RequestBodyInBytes
      • ResponseBodyInBytes
      • ResponseMimeType
      • Success
      • SuccessOrKnownError
      • TcpStats
      • ThreadPoolStats
      • Uri
    • Methods
      • ToString()
    • Implements
    • Extension Methods
    Back to top Generated by DocFX