Skip to content

Cookie

[<Interface>]
type Cookie =
    abstract member domain: string option with get, set
    abstract member expires: U2<Date,float> option with get, set
    abstract member httpOnly: bool option with get, set
    abstract member maxAge: float option with get, set
    abstract member name: string with get, set
    abstract member path: string option with get, set
    abstract member sameSite: sameSite option with get, set
    abstract member secure: bool option with get, set
    abstract member unparsed: ResizeArray<string> option with get, set
    abstract member value: string with get, set
    static member Create (name: string, value: string, expires: float, ?maxAge: float, ?domain: string, ?path: string, ?secure: bool, ?httpOnly: bool, ?sameSite: sameSite, ?unparsed: ResizeArray<string>) : Cookie
    static member Create (name: string, value: string, expires: Date, ?maxAge: float, ?domain: string, ?path: string, ?secure: bool, ?httpOnly: bool, ?sameSite: sameSite, ?unparsed: ResizeArray<string>) : Cookie
    static member Create (name: string, value: string, ?maxAge: float, ?domain: string, ?path: string, ?secure: bool, ?httpOnly: bool, ?sameSite: sameSite, ?unparsed: ResizeArray<string>) : Cookie
AssemblyGlutinum.Node
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Declared inside

sameSite

Properties

abstract member domain: string option with get, set
abstract member expires: U2<Date,float> option with get, set
abstract member httpOnly: bool option with get, set
abstract member maxAge: float option with get, set
abstract member name: string with get, set
abstract member path: string option with get, set
abstract member sameSite: sameSite option with get, set
abstract member secure: bool option with get, set
abstract member unparsed: ResizeArray<string> option with get, set
abstract member value: string with get, set

Methods

static member Create (name: string, value: string, expires: float, ?maxAge: float, ?domain: string, ?path: string, ?secure: bool, ?httpOnly: bool, ?sameSite: sameSite, ?unparsed: ResizeArray<string>) : Cookie
static member Create (name: string, value: string, expires: Date, ?maxAge: float, ?domain: string, ?path: string, ?secure: bool, ?httpOnly: bool, ?sameSite: sameSite, ?unparsed: ResizeArray<string>) : Cookie
static member Create (name: string, value: string, ?maxAge: float, ?domain: string, ?path: string, ?secure: bool, ?httpOnly: bool, ?sameSite: sameSite, ?unparsed: ResizeArray<string>) : Cookie