CookieContainerHandler Class

Definition

A DelegatingHandler that manages cookies associated with one or more pairs of HttpRequestMessage and HttpResponseMessage.

public ref class CookieContainerHandler : System::Net::Http::DelegatingHandler
public class CookieContainerHandler : System.Net.Http.DelegatingHandler
type CookieContainerHandler = class
    inherit DelegatingHandler
Public Class CookieContainerHandler
Inherits DelegatingHandler
Inheritance
CookieContainerHandler

Constructors

CookieContainerHandler()

Creates a new instance of CookieContainerHandler.

CookieContainerHandler(CookieContainer)

Creates a new instance of CookieContainerHandler.

Properties

Container

Gets the CookieContainer used to store and retrieve cookies.

Methods

SendAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.

Applies to