QBittorrent::Model::Cookie
Inherits JSON::Serializable < Reference < Object
A stored WebUI cookie (qB 5.x addition), as returned by GET app/cookies
and accepted by POST app/setCookies (which takes a JSON array of these).
Round-trips cleanly: parse the cookies array, mutate, and re-serialize
with #to_json to send back. Fields are nilable so partial payloads parse,
but a cookie sent to setCookies should have all fields populated.
Constructors
new(pull : JSON::PullParser)
Sourcenew(name : String | Nil = nil, domain : String | Nil = nil, path : String | Nil = nil, value : String | Nil = nil, expiration_date : Int64 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Expiry as a Unix epoch in seconds (Int64 to stay 2038-safe).