Class HttpConnectionDiagnosticObserver
Provides a typed listener to the events that HttpConnection emits
Implements
Inherited Members
Namespace: OpenSearch.Net.Diagnostics
Assembly: OpenSearch.Net.dll
Syntax
public class HttpConnectionDiagnosticObserver : TypedDiagnosticObserverBase<RequestData, int?>, IObserver<KeyValuePair<string, object>>
Constructors
| Edit this page View SourceHttpConnectionDiagnosticObserver(Action<KeyValuePair<string, RequestData>>, Action<KeyValuePair<string, int?>>, Action<Exception>, Action)
Declaration
public HttpConnectionDiagnosticObserver(Action<KeyValuePair<string, RequestData>> onNextStart, Action<KeyValuePair<string, int?>> onNextEnd, Action<Exception> onError = null, Action onCompleted = null)
Parameters
Type | Name | Description |
---|---|---|
Action<KeyValuePair<string, RequestData>> | onNextStart | |
Action<KeyValuePair<string, int?>> | onNextEnd | |
Action<Exception> | onError | |
Action | onCompleted |