Method
SoupCookieJarget_cookie_list_with_same_site_info
Declaration [src]
GSList*
soup_cookie_jar_get_cookie_list_with_same_site_info (
SoupCookieJar* jar,
GUri* uri,
GUri* top_level,
GUri* site_for_cookies,
gboolean for_http,
gboolean is_safe_method,
gboolean is_top_level_navigation
)
Description [src]
This is an extended version of soup_cookie_jar_get_cookie_list() that
provides more information required to use SameSite cookies.
See the SameSite cookies spec for more detailed information.
Parameters
uri-
Type:
GUriA
GUri.The data is owned by the caller of the function. top_level-
Type:
GUriA
GUrifor the top level document.The argument can be NULL.The data is owned by the caller of the function. site_for_cookies-
Type:
GUriA
GUriindicating the origin to get cookies for.The argument can be NULL.The data is owned by the caller of the function. for_http-
Type:
gbooleanWhether or not the return value is being passed directly to an HTTP operation.
is_safe_method-
Type:
gbooleanIf the HTTP method is safe, as defined by RFC 7231, ignored when
for_httpisFALSE. is_top_level_navigation-
Type:
gbooleanWhether or not the HTTP request is part of top level navigation.