Class CookieJar
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
public class CookieJar : Object, IObject, INotifyPropertyChanged, IDisposable, SessionFeature, IHandle, GTypeProvider
- Inheritance
-
CookieJar
- Implements
- Derived
- Inherited Members
Constructors
CookieJar(bool, params ConstructArgument[])
protected CookieJar(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
CookieJar(IntPtr, bool)
protected CookieJar(IntPtr ptr, bool ownedRef)
Parameters
Fields
AcceptPolicyPropertyDefinition
public static readonly Property<CookieJarAcceptPolicy, CookieJar> AcceptPolicyPropertyDefinition
Field Value
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<CookieJar, CookieJar.ChangedSignalArgs> ChangedSignal
Field Value
ReadOnlyPropertyDefinition
public static readonly Property<bool, CookieJar> ReadOnlyPropertyDefinition
Field Value
Properties
AcceptPolicy
public CookieJarAcceptPolicy AcceptPolicy { get; set; }
Property Value
ReadOnly
public bool ReadOnly { get; }
Property Value
Methods
AddCookie(Cookie)
public void AddCookie(Cookie cookie)
Parameters
cookie
Cookie
AddCookieFull(Cookie, Uri?, Uri?)
public void AddCookieFull(Cookie cookie, Uri? uri, Uri? firstParty)
Parameters
AddCookieWithFirstParty(Uri, Cookie)
public void AddCookieWithFirstParty(Uri firstParty, Cookie cookie)
Parameters
AllCookies()
public SList AllCookies()
Returns
DeleteCookie(Cookie)
public void DeleteCookie(Cookie cookie)
Parameters
cookie
Cookie
GetAcceptPolicy()
public CookieJarAcceptPolicy GetAcceptPolicy()
Returns
GetCookieList(Uri, bool)
public SList GetCookieList(Uri uri, bool forHttp)
Parameters
Returns
GetCookieListWithSameSiteInfo(Uri, Uri?, Uri?, bool, bool, bool)
public SList GetCookieListWithSameSiteInfo(Uri uri, Uri? topLevel, Uri? siteForCookies, bool forHttp, bool isSafeMethod, bool isTopLevelNavigation)
Parameters
Returns
GetCookies(Uri, bool)
public string? GetCookies(Uri uri, bool forHttp)
Parameters
Returns
GetGType()
public static Type GetGType()
Returns
IsPersistent()
public bool IsPersistent()
Returns
New()
public static CookieJar New()
Returns
SetAcceptPolicy(CookieJarAcceptPolicy)
public void SetAcceptPolicy(CookieJarAcceptPolicy policy)
Parameters
policy
CookieJarAcceptPolicy
SetCookie(Uri, string)
public void SetCookie(Uri uri, string cookie)
Parameters
SetCookieWithFirstParty(Uri, Uri, string)
public void SetCookieWithFirstParty(Uri uri, Uri firstParty, string cookie)
Parameters
Events
OnChanged
public event SignalHandler<CookieJar, CookieJar.ChangedSignalArgs> OnChanged