ActionController::Cookies
Constants
MAX_COOKIE_SIZE = 4096
Constructors
new(context : HTTP::Server::Context)
SourceInstance methods
Удаляет cookie у клиента (значение "" + expires в прошлом).
encrypted
Sourcepermanent
Sourceset(name : String, value : String, expires : Time | Nil = nil, path : String = "/", domain : String | Nil = nil, secure : Bool = false, httponly : Bool = false, same_site : Symbol | Nil = nil) : Nil
Устанавливает cookie с опциями (Rails-семантика cookies[]= c хешем опций): expires/path/domain/secure/httponly/same_site.
signed
Source