Search Results for

    Show / Hide Table of Contents

    Class RequestPipelineDiagnosticObserver

    Provides a typed listener to actions that RequestPipeline takes e.g sniff, ping, or making an API call

    Inheritance
    object
    TypedDiagnosticObserverBase<RequestData, IApiCallDetails>
    RequestPipelineDiagnosticObserver
    Implements
    IObserver<KeyValuePair<string, object>>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net.Diagnostics
    Assembly: OpenSearch.Net.dll
    Syntax
    public class RequestPipelineDiagnosticObserver : TypedDiagnosticObserverBase<RequestData, IApiCallDetails>, IObserver<KeyValuePair<string, object>>

    Constructors

    | Edit this page View Source

    RequestPipelineDiagnosticObserver(Action<KeyValuePair<string, RequestData>>, Action<KeyValuePair<string, IApiCallDetails>>, Action<Exception>, Action)

    Declaration
    public RequestPipelineDiagnosticObserver(Action<KeyValuePair<string, RequestData>> onNextStart, Action<KeyValuePair<string, IApiCallDetails>> onNextEnd, Action<Exception> onError = null, Action onCompleted = null)
    Parameters
    Type Name Description
    Action<KeyValuePair<string, RequestData>> onNextStart
    Action<KeyValuePair<string, IApiCallDetails>> onNextEnd
    Action<Exception> onError
    Action onCompleted

    Implements

    IObserver<T>

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • RequestPipelineDiagnosticObserver(Action<KeyValuePair<string, RequestData>>, Action<KeyValuePair<string, IApiCallDetails>>, Action<Exception>, Action)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX