Table of Contents

Interface ICookieProvider

Namespace
AngleSharp.Io
Assembly
AngleSharp.dll

Defines methods to retrieve and store cookies.

public interface ICookieProvider
Extension Methods

Methods

GetCookie(Url)

Gets the cookie value of the given address.

string GetCookie(Url url)

Parameters

url Url

The origin of the cookie.

Returns

string

The value of the cookie.

SetCookie(Url, string)

Sets the cookie value for the given address.

void SetCookie(Url url, string value)

Parameters

url Url

The origin of the cookie.

value string

The value of the cookie.