HttpBodyParser.h
Go to the documentation of this file.
31 typedef Delegate<size_t(HttpRequest& request, const char* at, int length)> HttpBodyParserDelegate;
const int PARSE_DATASTART
special length values passed to parse functions
Definition: HttpBodyParser.h:19
Delegate< size_t(HttpRequest &request, const char *at, int length)> HttpBodyParserDelegate
Body parser callback delegate.
Definition: HttpBodyParser.h:31
size_t bodyToStringParser(HttpRequest &request, const char *at, int length)
Stores the complete body into memory.
Definition: HttpRequest.h:35
size_t formUrlParser(HttpRequest &request, const char *at, int length)
Parses application/x-www-form-urlencoded body data.
HashMap< String, HttpBodyParserDelegate > BodyParsers
Maps body parsers to a specific content type.
Definition: HttpBodyParser.h:36