Scoop API

scoop:scoop.http.client:0.1.0

HttpCookieContext

class HttpCookieContext

source · line 26
public
public class HttpCookieContext public constructor(
    /**
     * The initiating site URL used for schemeful SameSite comparison, when known.
     */
    public val site: Url? = None,
    /**
     * Whether this request is a top-level navigation.
     */
    public val isTopLevelNavigation: Boolean = false
)

The initiating site and top-level-navigation context used when a cookie jar enforces SameSite.

property site

source · line 30
public
public val site: Url? = None

get: public read-only

The initiating site URL used for schemeful SameSite comparison, when known.

property isTopLevelNavigation

source · line 34
public
public val isTopLevelNavigation: Boolean = false

get: public read-only

Whether this request is a top-level navigation.