struct HTTPSession::Storage::Entry(T)
- HTTPSession::Storage::Entry(T)
- Struct
- Value
- Object
Overview
Represents a session value in a Storage
backend.
Defined in:
storage.crConstructors
Instance Method Summary
- #created_at
-
#touch
Updates
session_touched_at
toTime.utc
. - #touched_at
-
#valid?(min : Time)
Returns
true
if#touched_at
is younger than min. - #value
Constructor Detail
def self.new(value : T, created_at : Time = Time.utc, touched_at : Time = created_at)
#