Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
#include <HttpParams.h>
Public Types | |
typedef bool(* | comparator) (const String &, const String &) |
Public Member Functions | |
HttpParams (const HttpParams ¶ms) | |
HttpParams (String query) | |
void | parseQuery (char *query) |
Called from URL class to process query section of a URI. More... | |
String | toString () const |
Return full escaped content for incorporation into a URI. More... | |
operator String () const | |
HttpParams & | operator= (const HttpParams ¶ms) |
size_t | printTo (Print &p) const override |
void | debugPrintTo (Print &p) const |
Printable output for debugging. More... | |
unsigned int | count () const |
const String & | keyAt (unsigned int idx) const |
String & | keyAt (unsigned int idx) |
const String & | valueAt (unsigned int idx) const |
String & | valueAt (unsigned int idx) |
const String & | operator[] (const String &key) const |
String & | operator[] (const String &key) |
void | allocate (unsigned int newSize) |
int | indexOf (const String &key) const |
bool | contains (const String &key) const |
void | removeAt (unsigned index) |
void | remove (const String &key) |
void | clear () |
void | setMultiple (const HashMap< String, String > &map) |
void | setNullValue (const String &nullv) |
Protected Attributes | |
String ** | keys |
String ** | values |
String | nil |
uint16_t | currentIndex |
uint16_t | size |
comparator | cb_comparator |
void HttpParams::parseQuery | ( | char * | query | ) |
Called from URL class to process query section of a URI.
query | extracted from URI, with or without '?' prefix |
bool | true on success, false if parsing failed |
String HttpParams::toString | ( | ) | const |
Return full escaped content for incorporation into a URI.