Session also supports arrays

This commit is contained in:
Sdogruyol 2016-09-29 22:48:19 +03:00 committed by Serdar Dogruyol
parent 8c600cb26e
commit a8e53fb94e
2 changed files with 34 additions and 1 deletions

View file

@ -16,7 +16,7 @@ module Kemal
# Sessions are pruned hourly after 48 hours of inactivity.
class Sessions
# Session Types are String, Integer, Float and Boolean
alias SessionTypes = String | Int64 | Float64 | Bool
alias SessionTypes = String | Int32 | Float64 | Bool | Array(String | Int32 | Float64 | Bool)
# In-memory, ephemeral datastore only.
#