#include <cookie.h>
 | 
| static void  | clear (Request *request, const char *cookie_name) | 
|   | 
| static void  | set (Request *request, const std::string &cookie_name, const std::string &value, const duration duration={}, const std::string &path={}, const SameSite *same_site=nullptr, bool secure=false, bool http_only=false, const std::string &domain={}) | 
|   | 
◆ duration
◆ MapWithCookies
◆ Request
◆ SameSite
| Enumerator | 
|---|
| None  |  | 
| Lex  |  | 
| Strict  |  | 
 
 
◆ Cookie()
      
        
          | mrs::http::Cookie::Cookie  | 
          ( | 
          Request *  | 
          request | ) | 
           | 
        
      
 
 
◆ clear() [1/2]
      
        
          | void mrs::http::Cookie::clear  | 
          ( | 
          const char *  | 
          cookie_name | ) | 
           | 
        
      
 
 
◆ clear() [2/2]
  
  
      
        
          | void mrs::http::Cookie::clear  | 
          ( | 
          Request *  | 
          request,  | 
         
        
           | 
           | 
          const char *  | 
          cookie_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ direct()
      
        
          | std::map< std::string, std::string > & mrs::http::Cookie::direct  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ get()
      
        
          | std::string mrs::http::Cookie::get  | 
          ( | 
          const std::string &  | 
          key | ) | 
           | 
        
      
 
 
◆ set() [1/2]
      
        
          | void mrs::http::Cookie::set  | 
          ( | 
          const std::string &  | 
          cookie_name,  | 
        
        
           | 
           | 
          const std::string &  | 
          value,  | 
        
        
           | 
           | 
          const duration  | 
          duration = {},  | 
        
        
           | 
           | 
          const std::string &  | 
          path = {},  | 
        
        
           | 
           | 
          const SameSite *  | 
          same_site = nullptr,  | 
        
        
           | 
           | 
          bool  | 
          secure = false,  | 
        
        
           | 
           | 
          bool  | 
          http_only = false,  | 
        
        
           | 
           | 
          const std::string &  | 
          domain = {}  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ set() [2/2]
  
  
      
        
          | void mrs::http::Cookie::set  | 
          ( | 
          Request *  | 
          request,  | 
         
        
           | 
           | 
          const std::string &  | 
          cookie_name,  | 
         
        
           | 
           | 
          const std::string &  | 
          value,  | 
         
        
           | 
           | 
          const duration  | 
          duration = {},  | 
         
        
           | 
           | 
          const std::string &  | 
          path = {},  | 
         
        
           | 
           | 
          const SameSite *  | 
          same_site = nullptr,  | 
         
        
           | 
           | 
          bool  | 
          secure = false,  | 
         
        
           | 
           | 
          bool  | 
          http_only = false,  | 
         
        
           | 
           | 
          const std::string &  | 
          domain = {}  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ cookies_
◆ kHttpParameterNameCookie
  
  
      
        
          | const char * mrs::http::Cookie::kHttpParameterNameCookie = "Cookie" | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ request_
  
  
      
        
          | Request* mrs::http::Cookie::request_ | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files:
- router/src/mysql_rest_service/src/mrs/http/cookie.h
 
- router/src/mysql_rest_service/src/mrs/http/cookie.cc