CookieInput
The cookie to be sent to the page
input CookieInput {
domain: String
expires: Float
httpOnly: Boolean
name: String!
path: String
sameSite: CookieSameSite
secure: Boolean
url: String
value: String!
}
Fields
CookieInput.domain
● String
scalar
Cookie domain
CookieInput.expires
● Float
scalar
Cookie expiration date, session cookie if not set
CookieInput.httpOnly
● Boolean
scalar
True if cookie is http-only
CookieInput.name
● String!
non-null scalar
Cookie name
CookieInput.path
● String
scalar
Cookie path
CookieInput.sameSite
● CookieSameSite
enum
Cookie SameSite type
CookieInput.secure
● Boolean
scalar
True if cookie is secure
CookieInput.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
CookieInput.value
● String!
non-null scalar
Cookie value
Member Of
cookies
mutation