getCookieListWithSameSiteInfo

open fun getCookieListWithSameSiteInfo(uri: <Error class: unknown class>, topLevel: <Error class: unknown class>? = null, siteForCookies: <Error class: unknown class>? = null, forHttp: Boolean, isSafeMethod: Boolean, isTopLevelNavigation: Boolean): <Error class: unknown class>

This is an extended version of method@CookieJar.get_cookie_list that provides more information required to use SameSite cookies.

See the SameSite cookies * spec for more detailed information.

Return

a #GSList with the cookies in the @jar that would be sent with a request to @uri.

Parameters

uri

a #GUri

topLevel

a #GUri for the top level document

siteForCookies

a #GUri indicating the origin to get cookies for

forHttp

whether or not the return value is being passed directly to an HTTP operation

isSafeMethod

if the HTTP method is safe, as defined by RFC 7231, ignored when @for_http is false

isTopLevelNavigation

whether or not the HTTP request is part of top level navigation