class Kemal::Session::Config

Defined in:

kemal-session/config.cr

Constant Summary

INSTANCE = self.new

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def cookie_name : String #

[View source]
def cookie_name=(cookie_name : String) #

[View source]
def domain : String? #

[View source]
def domain=(domain : Nil | String) #

[View source]
def engine : Kemal::Session::Engine #

[View source]
def engine=(e : Engine) #

[View source]
def engine=(engine : Kemal::Session::Engine) #

[View source]
def gc_interval : Time::Span #

[View source]
def gc_interval=(gc_interval : Time::Span) #

[View source]
def path : String #

[View source]
def path=(path : String) #

[View source]
def samesite : HTTP::Cookie::SameSite? #

[View source]
def samesite=(samesite : HTTP::Cookie::SameSite | Nil) #

[View source]
def secret : String #

[View source]
def secret=(secret : String) #

[View source]
def secure : Bool #

[View source]
def secure=(secure : Bool) #

[View source]
def timeout : Time::Span #

[View source]
def timeout=(timeout : Time::Span) #

[View source]