Cookie.setSecure

Sets cookie's secure attribute to secure.

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

class Cookie
void
setSecure
(
bool secure
)

Parameters

secure bool

the new value for the secure attribute