API for http parameters: key=value&key1=value1.
More...
#include <HttpParameters.h>
|
|
| HttpParameters (const int maxLen=256) |
| | Default Constructor.
|
| |
|
| ~HttpParameters () |
| | Destructor.
|
| |
|
void | clear () |
| | Clears all values.
|
| |
|
float | getFloat (const char *key) |
| | Returns the value for a parameter id as float.
|
| |
|
int | getInt (const char *key) |
| | Returns the value for a parameter id as int.
|
| |
|
HttpParameterEntry * | getParameter (const char *key) |
| | Returns a HttpParameterEntry for a parameter id.
|
| |
|
const char * | getValue (const char *key) |
| | Returns the value for a parameter id as string.
|
| |
|
bool | hasKey (const char *key) |
| | Checks if the parameter exists.
|
| |
|
void | parse (Stream &in) |
| | Parses the parameters in the client stream.
|
| |
| void | parse (Stream &in, void(*callback)(const char *key, const char *value)) |
| |
|
|
void | urldecode2 (char *dst, const char *src) |
| |
|
|
int | max_len |
| |
|
Vector< HttpParameterEntry * > | parameters |
| |
API for http parameters: key=value&key1=value1.
◆ parse()
| void tinyhttp::HttpParameters::parse |
( |
Stream & |
in, |
|
|
void(*)(const char *key, const char *value) |
callback |
|
) |
| |
|
inline |
Parses the parameters in the client stream and provides the result via a callback method
The documentation for this class was generated from the following file: