CookieConfiguration

class CookieConfiguration

Cookie configuration being used to send sessions

Constructors

<init>

CookieConfiguration()

Cookie configuration being used to send sessions

Properties

domain

var domain: String?

Cookie domain

duration

var duration: TemporalAmount?

Cookie time to live duration

encoding

var encoding: CookieEncoding

Cookie encoding

extensions

val extensions: MutableMap<String, String?>

Any additional extra cookie parameters

httpOnly

var httpOnly: Boolean

This cookie is only for transferring over HTTP(s) and shouldn’t be accessible via JavaScript

path

var path: String?

Cookie path

secure

var secure: Boolean

Send cookies only over secure connection