mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
Make ESP8266WebServer::urlDecode public (#1419)
This commit is contained in:
parent
fc80526ebf
commit
35fd2ccd52
@ -119,6 +119,8 @@ public:
|
|||||||
void sendContent_P(PGM_P content);
|
void sendContent_P(PGM_P content);
|
||||||
void sendContent_P(PGM_P content, size_t size);
|
void sendContent_P(PGM_P content, size_t size);
|
||||||
|
|
||||||
|
static String urlDecode(const String& text);
|
||||||
|
|
||||||
template<typename T> size_t streamFile(T &file, const String& contentType){
|
template<typename T> size_t streamFile(T &file, const String& contentType){
|
||||||
setContentLength(file.size());
|
setContentLength(file.size());
|
||||||
if (String(file.name()).endsWith(".gz") &&
|
if (String(file.name()).endsWith(".gz") &&
|
||||||
@ -142,7 +144,6 @@ protected:
|
|||||||
uint8_t _uploadReadByte(WiFiClient& client);
|
uint8_t _uploadReadByte(WiFiClient& client);
|
||||||
void _prepareHeader(String& response, int code, const char* content_type, size_t contentLength);
|
void _prepareHeader(String& response, int code, const char* content_type, size_t contentLength);
|
||||||
bool _collectHeader(const char* headerName, const char* headerValue);
|
bool _collectHeader(const char* headerName, const char* headerValue);
|
||||||
String urlDecode(const String& text);
|
|
||||||
|
|
||||||
struct RequestArgument {
|
struct RequestArgument {
|
||||||
String key;
|
String key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user