29#include <sptk5/Buffer.h>
30#include <sptk5/CaseInsensitiveCompare.h>
84 HttpParams(std::initializer_list<std::pair<String, String>> lst);
97 void decode(
const Buffer& paramString,
bool lowerCaseNames =
false);
Definition: HttpParams.h:69
void encode(Buffer &result) const
HttpParams(std::initializer_list< std::pair< String, String > > lst)
String get(const String ¶mName) const
void decode(const Buffer ¶mString, bool lowerCaseNames=false)
HttpParams(const HttpParams &other)=default
bool has(const String ¶mName) const
Definition: HttpParams.h:48
static String encode(const String &str)
static sptk::String decode(const String &str)
std::map< sptk::String, sptk::String, CaseInsensitiveCompare > StringHttpFieldMap
Definition: HttpParams.h:45