module Bezel::Cookies
Request cookies and Set-Cookie values.
Class methods
def self.parse(header: String?) -> Hash[String, String]
The cookies of a Cookie header (a=1; b=2): name to value, the
first of a name kept (the most specific, as browsers send them).
def self.set_cookie(name: String, value: String, *, path: String = …, max_age: Int? = …, http_only: Bool = …, secure: Bool = …, same_site: String? = …, domain: String? = …) -> String
A Set-Cookie value: name=value and its attributes. name must be
a token and value cookie characters (no spaces, quotes, commas,
semicolons or backslashes): ArgumentError otherwise.