kvision / pl.treksoft.kvision.electron / Cookie

Cookie

external interface Cookie

Properties

domain

open var domain: String?

expirationDate

open var expirationDate: Number?

hostOnly

open var hostOnly: Boolean?

httpOnly

open var httpOnly: Boolean?

name

abstract var name: String

path

open var path: String?

secure

open var secure: Boolean?

session

open var session: Boolean?

value

abstract var value: String

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.