mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-02-03 21:55:08 +01:00
refactor WebServer methods
and const specifiers for immutable returns make &String arg overloads over const char* + some minor cleanups
This commit is contained in:
committed by
Mathieu Carbou
parent
9e93f03525
commit
c79f2d05f0
@@ -327,10 +327,11 @@ class AsyncWebSocket: public AsyncWebHandler {
|
||||
|
||||
size_t printf(uint32_t id, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
size_t printfAll(const char *format, ...) __attribute__ ((format (printf, 2, 3)));
|
||||
|
||||
#ifndef ESP32
|
||||
size_t printf_P(uint32_t id, PGM_P formatP, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
#endif
|
||||
size_t printfAll_P(PGM_P formatP, ...) __attribute__ ((format (printf, 2, 3)));
|
||||
#endif
|
||||
|
||||
//event listener
|
||||
void onEvent(AwsEventHandler handler){
|
||||
|
||||
Reference in New Issue
Block a user