Builder

class Builder

Builds a cookie. The name, value, and domain values must all be set before calling build.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(): Cookie
Link copied to clipboard

Set the domain pattern for this cookie. The cookie will match domain and all of its subdomains.

Link copied to clipboard
fun expiresAt(expiresAt: Long): Cookie.Builder
Link copied to clipboard

Set the host-only domain for this cookie. The cookie will match domain but none of its subdomains.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard