Table of Contents

Class HttpClientHandlerWithCookies

Namespace
Phoesion.Glow.SDK
Assembly
Phoesion.Glow.SDK.Blazor.WebAssembly.Authorization.Cookies.dll
public class HttpClientHandlerWithCookies : HttpClientHandler, IDisposable
Inheritance
object
HttpClientHandlerWithCookies
Implements
Inherited Members

Constructors

HttpClientHandlerWithCookies(AuthenticationStateProvider)

public HttpClientHandlerWithCookies(AuthenticationStateProvider authStateProvider)

Parameters

authStateProvider AuthenticationStateProvider

Properties

IncludeMode

public BrowserRequestCredentials IncludeMode { get; set; }

Property Value

BrowserRequestCredentials

Methods

SendAsync(HttpRequestMessage, CancellationToken)

Creates an instance of HttpResponseMessage based on the information provided in the HttpRequestMessage as an operation that will not block.

protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)

Parameters

request HttpRequestMessage

The HTTP request message.

cancellationToken CancellationToken

A cancellation token to cancel the operation.

Returns

Task<HttpResponseMessage>

The task object representing the asynchronous operation.

Exceptions

ArgumentNullException

The request was null.

OperationCanceledException

The cancellation token was canceled. This exception is stored into the returned task.