libfilezilla
Public Member Functions | List of all members
query_string Class Referencefinal

Class for parsing a URI's query string. More...

#include <uri.hpp>

Public Member Functions

 query_string (std::string_view const &raw)
 
 query_string (std::pair< std::string, std::string > const &segment)
 
 query_string (std::initializer_list< std::pair< std::string, std::string >> const &segments)
 
bool set (std::string_view const &raw)
 
std::string to_string (bool encode_slashes) const
 
void remove (std::string const &key)
 
std::string & operator[] (std::string const &key)
 
std::map< std::string, std::string, less_insensitive_ascii > const & pairs () const
 
bool empty () const
 

Detailed Description

Class for parsing a URI's query string.

Assumes the usual semantics of key-value pairs separated by ampersands.


The documentation for this class was generated from the following file: