Module

Browser.Cookies.Data

Package
purescript-browser-cookies
Repository
vilu/purescript-browser-cookies

A module providing operations to manipulate cookies in the browser

#Cookie Source

newtype Cookie

The type of a Cookie value. This is separated from CookieOpts because they won't be returned on a read.

Constructors

Instances

#SetCookie Source

newtype SetCookie

The type needed for setting Cookie values. This is a compound of Cookie and CookieOpts because the latter is only relevant on a write.

Constructors

Instances

#SameSite Source

data SameSite

Prevent browser from sending this cookie along with cross-site requests. https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#SameSite_cookies

Constructors

Instances