CookieContainerHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for