setSecure

fun setSecure(secure: Boolean)

Sets @cookie's secure attribute to @secure.

If true, @cookie will only be transmitted from the client to the server over secure (https) connections.

Parameters

secure

the new value for the secure attribute