Cookie attribute defaults can be set globally by creating an
instance of the api via withAttributes(), or individually for
each call to Cookies.set(...) by passing a plain object as the
last argument. Per-call attributes override the default attributes.
Create a new instance of the api that overrides the default
decoding implementation. All methods that rely in a proper
decoding to work, such as Cookies.remove() and Cookies.get(),
will run the converter first for each cookie. The returned
string will be used as the cookie value.
Read cookie