Class CookieJar
public class CookieJar
- Inheritance
-
CookieJar
- Inherited Members
Methods
AddCookie(IntPtr, CookieUnownedHandle)
Calls native method soup_cookie_jar_add_cookie.
public static extern void AddCookie(IntPtr jar, CookieUnownedHandle cookie)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
cookie
CookieUnownedHandleTransfer ownership: Full Nullable: False
AddCookieFull(IntPtr, CookieUnownedHandle, UriHandle, UriHandle)
Calls native method soup_cookie_jar_add_cookie_full.
public static extern void AddCookieFull(IntPtr jar, CookieUnownedHandle cookie, UriHandle uri, UriHandle firstParty)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
cookie
CookieUnownedHandleTransfer ownership: Full Nullable: False
uri
UriHandleTransfer ownership: None Nullable: True
firstParty
UriHandleTransfer ownership: None Nullable: True
AddCookieWithFirstParty(IntPtr, UriHandle, CookieUnownedHandle)
Calls native method soup_cookie_jar_add_cookie_with_first_party.
public static extern void AddCookieWithFirstParty(IntPtr jar, UriHandle firstParty, CookieUnownedHandle cookie)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
firstParty
UriHandleTransfer ownership: None Nullable: False
cookie
CookieUnownedHandleTransfer ownership: Full Nullable: False
AllCookies(IntPtr)
Calls native method soup_cookie_jar_all_cookies.
public static extern SListOwnedHandle AllCookies(IntPtr jar)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
Returns
- SListOwnedHandle
Transfer ownership: Full Nullable: False
DeleteCookie(IntPtr, CookieHandle)
Calls native method soup_cookie_jar_delete_cookie.
public static extern void DeleteCookie(IntPtr jar, CookieHandle cookie)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
cookie
CookieHandleTransfer ownership: None Nullable: False
GetAcceptPolicy(IntPtr)
Calls native method soup_cookie_jar_get_accept_policy.
public static extern CookieJarAcceptPolicy GetAcceptPolicy(IntPtr jar)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
Returns
- CookieJarAcceptPolicy
Transfer ownership: None Nullable: False
GetCookieList(IntPtr, UriHandle, bool)
Calls native method soup_cookie_jar_get_cookie_list.
public static extern SListOwnedHandle GetCookieList(IntPtr jar, UriHandle uri, bool forHttp)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
uri
UriHandleTransfer ownership: None Nullable: False
forHttp
boolTransfer ownership: None Nullable: False
Returns
- SListOwnedHandle
Transfer ownership: Full Nullable: False
GetCookieListWithSameSiteInfo(IntPtr, UriHandle, UriHandle, UriHandle, bool, bool, bool)
Calls native method soup_cookie_jar_get_cookie_list_with_same_site_info.
public static extern SListOwnedHandle GetCookieListWithSameSiteInfo(IntPtr jar, UriHandle uri, UriHandle topLevel, UriHandle siteForCookies, bool forHttp, bool isSafeMethod, bool isTopLevelNavigation)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
uri
UriHandleTransfer ownership: None Nullable: False
topLevel
UriHandleTransfer ownership: None Nullable: True
siteForCookies
UriHandleTransfer ownership: None Nullable: True
forHttp
boolTransfer ownership: None Nullable: False
isSafeMethod
boolTransfer ownership: None Nullable: False
isTopLevelNavigation
boolTransfer ownership: None Nullable: False
Returns
- SListOwnedHandle
Transfer ownership: Full Nullable: False
GetCookies(IntPtr, UriHandle, bool)
Calls native method soup_cookie_jar_get_cookies.
public static extern NullableUtf8StringOwnedHandle GetCookies(IntPtr jar, UriHandle uri, bool forHttp)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
uri
UriHandleTransfer ownership: None Nullable: False
forHttp
boolTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
GetGType()
Calls native function soup_cookie_jar_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
IsPersistent(IntPtr)
Calls native method soup_cookie_jar_is_persistent.
public static extern bool IsPersistent(IntPtr jar)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New()
Calls native constructor soup_cookie_jar_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
SetAcceptPolicy(IntPtr, CookieJarAcceptPolicy)
Calls native method soup_cookie_jar_set_accept_policy.
public static extern void SetAcceptPolicy(IntPtr jar, CookieJarAcceptPolicy policy)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
policy
CookieJarAcceptPolicyTransfer ownership: None Nullable: False
SetCookie(IntPtr, UriHandle, NonNullableUtf8StringHandle)
Calls native method soup_cookie_jar_set_cookie.
public static extern void SetCookie(IntPtr jar, UriHandle uri, NonNullableUtf8StringHandle cookie)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
uri
UriHandleTransfer ownership: None Nullable: False
cookie
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetCookieWithFirstParty(IntPtr, UriHandle, UriHandle, NonNullableUtf8StringHandle)
Calls native method soup_cookie_jar_set_cookie_with_first_party.
public static extern void SetCookieWithFirstParty(IntPtr jar, UriHandle uri, UriHandle firstParty, NonNullableUtf8StringHandle cookie)
Parameters
jar
IntPtrTransfer ownership: None Nullable: False
uri
UriHandleTransfer ownership: None Nullable: False
firstParty
UriHandleTransfer ownership: None Nullable: False
cookie
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False