Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
HttpRequest Class Reference

Public Member Functions

String getRequestMethod ()
 
String getPath ()
 
String getContentType ()
 
int getContentLength ()
 
bool isAjax ()
 
bool isWebSocket ()
 
String getQueryParameter (String parameterName, String defaultValue="")
 
String getPostParameter (String parameterName, String defaultValue="")
 
String getHeader (String headerName, String defaultValue="")
 
String getCookie (String cookieName, String defaultValue="")
 
String getBody ()
 
HttpParseResult parseHeader (HttpServer *server, pbuf *buf)
 
HttpParseResult parsePostData (HttpServer *server, pbuf *buf)
 
String extractParsingItemsList (String &buf, int startPos, int endPos, char delimChar, char endChar, HashMap< String, String > *resultItems)
 

Friends

class TemplateFileStream