Show / Hide Table of Contents

Class WatsonAuthenticatedHttpClientHandler

Inheritance
System.Object
System.Net.Http.HttpMessageHandler
System.Net.Http.DelegatingHandler
WatsonAuthenticatedHttpClientHandler
Implements
System.IDisposable
Inherited Members
System.Net.Http.DelegatingHandler.Dispose(System.Boolean)
System.Net.Http.DelegatingHandler.Send(System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)
System.Net.Http.DelegatingHandler.InnerHandler
System.Net.Http.HttpMessageHandler.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.Ingestion
Assembly: CrashCABN.Ingestion.Watson.dll
Syntax
public class WatsonAuthenticatedHttpClientHandler : DelegatingHandler, IDisposable

Constructors

View Source

WatsonAuthenticatedHttpClientHandler(WatsonAADAppSecret)

Declaration
public WatsonAuthenticatedHttpClientHandler(WatsonAADAppSecret secret)
Parameters
Type Name Description
WatsonAADAppSecret secret

Methods

View Source

SendAsync(HttpRequestMessage, CancellationToken)

Declaration
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
Type Name Description
System.Net.Http.HttpRequestMessage request
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Overrides
System.Net.Http.DelegatingHandler.SendAsync(System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)

Implements

System.IDisposable
  • View Source
In This Article
Back to top Generated by DocFX