mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-28 05:01:28 +03:00
small addons (#5847)
* make (static) ESP8266WebServer::responseCodeToString visible and usable * esp8266:coreVersionNumeric(): add a define and comment-example to check on its usability
This commit is contained in:
@ -135,6 +135,8 @@ public:
|
||||
return _currentClient.write(file);
|
||||
}
|
||||
|
||||
static const String responseCodeToString(const int code);
|
||||
|
||||
protected:
|
||||
virtual size_t _currentClientWrite(const char* b, size_t l) { return _currentClient.write( b, l ); }
|
||||
virtual size_t _currentClientWrite_P(PGM_P b, size_t l) { return _currentClient.write_P( b, l ); }
|
||||
@ -144,7 +146,6 @@ protected:
|
||||
bool _parseRequest(WiFiClient& client);
|
||||
void _parseArguments(const String& data);
|
||||
int _parseArgumentsPrivate(const String& data, std::function<void(String&,String&,const String&,int,int,int,int)> handler);
|
||||
static const String _responseCodeToString(int code);
|
||||
bool _parseForm(WiFiClient& client, const String& boundary, uint32_t len);
|
||||
bool _parseFormUploadAborted();
|
||||
void _uploadWriteByte(uint8_t b);
|
||||
|
Reference in New Issue
Block a user