class Arachnid::CookieJar
- Arachnid::CookieJar
- Reference
- Object
Overview
As hosts are scanned their cookies are stored here.
Included Modules
- Enumerable(HTTP::Cookies)
Defined in:
arachnid/cookie_jar.crConstructors
Instance Method Summary
- 
        #[](host : String)
        
          Returns all relevant cookies in a single string for the named host or domain. 
- 
        #[]=(host : String, cookies : HTTP::Cookies)
        
          Add a cookie to the jar for a particular domain. 
- 
        #clear!
        
          Clear out the jar, removing all stored cookies. 
- 
        #cookies_for_host(host)
        
          Returns raw cookie value pairs for a given host. 
- 
        #each(&block)
        
          Iterates over the host-name and cookie value pairs in the jar. 
- 
        #for_host(host)
        
          Returns the pre-encoded Cookie for a given host. 
- 
        #from_resource(resource)
        
          Retrieve cookies for a domain from the response. 
- 
        #inspect
        
          Inspects the cookie jar. 
- 
        #size
        
          Size of the cookie jar. 
Constructor Detail
Instance Method Detail
        
        def [](host : String)
        #
      
      
        Returns all relevant cookies in a single string for the named host or domain.
        
        def cookies_for_host(host)
        #
      
      
        Returns raw cookie value pairs for a given host. Includes cookies set on parent domains.