SetCookie

scamper.http.cookies.SetCookie
See theSetCookie companion trait
object SetCookie

Provides factory for SetCookie.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SetCookie.type

Members list

Value members

Concrete methods

def apply(name: String, value: String, domain: Option[String], path: Option[String], expires: Option[Instant], maxAge: Option[Long], secure: Boolean, httpOnly: Boolean): SetCookie

Creates cookie with supplied name, value, and attributes.

Creates cookie with supplied name, value, and attributes.

Attributes

def parse(cookie: String): SetCookie

Parses formatted cookie.

Parses formatted cookie.

Attributes