#include <RobotAPI/libraries/armem/server/ltm/detail/mixins/util/httplib.h>
 | 
| std::string  | get_header_value (const std::string &key, const char *def="", size_t id=0) const | 
|   | 
| size_t  | get_header_value_count (const std::string &key) const | 
|   | 
| uint64_t  | get_header_value_u64 (const std::string &key, uint64_t def=0, size_t id=0) const | 
|   | 
| bool  | has_header (const std::string &key) const | 
|   | 
| Response &  | operator= (const Response &)=default | 
|   | 
| Response &  | operator= (Response &&)=default | 
|   | 
|   | Response ()=default | 
|   | 
|   | Response (const Response &)=default | 
|   | 
|   | Response (Response &&)=default | 
|   | 
| void  | set_chunked_content_provider (const std::string &content_type, ContentProviderWithoutLength provider, ContentProviderResourceReleaser resource_releaser=nullptr) | 
|   | 
| void  | set_content (const char *s, size_t n, const std::string &content_type) | 
|   | 
| void  | set_content (const std::string &s, const std::string &content_type) | 
|   | 
| void  | set_content (std::string &&s, const std::string &content_type) | 
|   | 
| void  | set_content_provider (const std::string &content_type, ContentProviderWithoutLength provider, ContentProviderResourceReleaser resource_releaser=nullptr) | 
|   | 
| void  | set_content_provider (size_t length, const std::string &content_type, ContentProvider provider, ContentProviderResourceReleaser resource_releaser=nullptr) | 
|   | 
| void  | set_file_content (const std::string &path) | 
|   | 
| void  | set_file_content (const std::string &path, const std::string &content_type) | 
|   | 
| void  | set_header (const std::string &key, const std::string &val) | 
|   | 
| void  | set_redirect (const std::string &url, int status=StatusCode::Found_302) | 
|   | 
|   | ~Response () | 
|   | 
Definition at line 666 of file httplib.h.
 
◆ Response() [1/3]
◆ Response() [2/3]
◆ Response() [3/3]
◆ ~Response()
◆ get_header_value()
  
  
      
        
          | std::string get_header_value  | 
          ( | 
          const std::string &  | 
          key,  | 
         
        
           | 
           | 
          const char *  | 
          def = "",  | 
         
        
           | 
           | 
          size_t  | 
          id = 0  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_header_value_count()
  
  
      
        
          | size_t get_header_value_count  | 
          ( | 
          const std::string &  | 
          key | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_header_value_u64()
  
  
      
        
          | uint64_t get_header_value_u64  | 
          ( | 
          const std::string &  | 
          key,  | 
         
        
           | 
           | 
          uint64_t  | 
          def = 0,  | 
         
        
           | 
           | 
          size_t  | 
          id = 0  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
 
◆ has_header()
  
  
      
        
          | bool has_header  | 
          ( | 
          const std::string &  | 
          key | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_chunked_content_provider()
◆ set_content() [1/3]
  
  
      
        
          | void set_content  | 
          ( | 
          const char *  | 
          s,  | 
         
        
           | 
           | 
          size_t  | 
          n,  | 
         
        
           | 
           | 
          const std::string &  | 
          content_type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_content() [2/3]
  
  
      
        
          | void set_content  | 
          ( | 
          const std::string &  | 
          s,  | 
         
        
           | 
           | 
          const std::string &  | 
          content_type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_content() [3/3]
  
  
      
        
          | void set_content  | 
          ( | 
          std::string &&  | 
          s,  | 
         
        
           | 
           | 
          const std::string &  | 
          content_type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_content_provider() [1/2]
◆ set_content_provider() [2/2]
◆ set_file_content() [1/2]
  
  
      
        
          | void set_file_content  | 
          ( | 
          const std::string &  | 
          path | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_file_content() [2/2]
  
  
      
        
          | void set_file_content  | 
          ( | 
          const std::string &  | 
          path,  | 
         
        
           | 
           | 
          const std::string &  | 
          content_type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_header()
  
  
      
        
          | void set_header  | 
          ( | 
          const std::string &  | 
          key,  | 
         
        
           | 
           | 
          const std::string &  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_redirect()
  
  
      
        
          | void set_redirect  | 
          ( | 
          const std::string &  | 
          url,  | 
         
        
           | 
           | 
          int  | 
          status = StatusCode::Found_302  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ body
◆ content_length_
      
        
          | size_t content_length_ = 0 | 
        
      
 
 
◆ content_provider_
◆ content_provider_resource_releaser_
◆ content_provider_success_
      
        
          | bool content_provider_success_ = false | 
        
      
 
 
◆ file_content_content_type_
      
        
          | std::string file_content_content_type_ | 
        
      
 
 
◆ file_content_path_
      
        
          | std::string file_content_path_ | 
        
      
 
 
◆ headers
◆ is_chunked_content_provider_
      
        
          | bool is_chunked_content_provider_ = false | 
        
      
 
 
◆ location
◆ reason
◆ status
◆ version
The documentation for this struct was generated from the following file:
- RobotAPI/libraries/armem/server/ltm/detail/mixins/util/httplib.h