Skip to main content

StandardCookie

A standard cookie

type StandardCookie {
domain: String
expires: Float
httpOnly: Boolean
name: String!
path: String
sameSite: CookieSameSite
secure: Boolean
value: String!
url: String
}

Fields

StandardCookie.domain ● String scalar

Cookie domain

StandardCookie.expires ● Float scalar

Cookie expiration date, session cookie if not set

StandardCookie.httpOnly ● Boolean scalar

True if cookie is http-only

StandardCookie.name ● String! non-null scalar

Cookie name

StandardCookie.path ● String scalar

Cookie path

StandardCookie.sameSite ● CookieSameSite enum

Cookie SameSite type

StandardCookie.secure ● Boolean scalar

True if cookie is secure

StandardCookie.value ● String! non-null scalar

Cookie value

StandardCookie.url ● String scalar

The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie

Member Of

CookieResponse object