class Amber::Router::Cookies::Store
- Amber::Router::Cookies::Store
 - Reference
 - Object
 
Included Modules
- Enumerable(String)
 
Defined in:
amber/router/cookies/store.crConstructors
Class Method Summary
Instance Method Summary
- #[](name)
 - #[]=(name, cookie : HTTP::Cookie)
 - #[]=(name, value)
 - #cookies : Hash(String, String)
 - #delete(name : String, path = "/", domain : String | Nil = nil)
 - #deleted?(name)
 - 
        #each(&block : T -> _)
        
          
Must yield this collection's elements to the block.
 - #each
 - #encrypted
 - #get(name)
 - #host : String | Nil
 - #host=(host : String | Nil)
 - #permanent
 - #secret : String
 - #secure : Bool
 - #secure=(secure : Bool)
 - #set(name : String, value : String, path : String = "/", expires : Time | Nil = nil, domain : String | Nil = nil, secure : Bool = false, http_only : Bool = false, extension : String | Nil = nil)
 - #signed
 - #update(cookies)
 - #write(headers)
 - #write_cookie?(cookie)
 
Constructor Detail
        
        def self.new(host : Nil | String = nil, secret : String = Random::Secure.urlsafe_base64(32), secure : Bool = false)
        #
      
      
      Class Method Detail
Instance Method Detail
              Description copied from module Enumerable(String)
            
          
          Must yield this collection's elements to the block.