Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/AsyncEventSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "AsyncEventSource.h"
#include "AsyncWebServerLogging.h"

#include <utility>

#define ASYNC_SSE_NEW_LINE_CHAR (char)0xa

using namespace asyncsrv;
Expand Down
3 changes: 3 additions & 0 deletions src/AsyncEventSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
#endif
#endif

#include <memory>
#include <utility>

class AsyncEventSource;
class AsyncEventSourceResponse;
class AsyncEventSourceClient;
Expand Down
2 changes: 2 additions & 0 deletions src/AsyncJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "AsyncJson.h"
#include "AsyncWebServerLogging.h"

#include <utility>

#if ASYNC_JSON_SUPPORT == 1

// Json content type response classes
Expand Down
6 changes: 4 additions & 2 deletions src/AsyncWebSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include "AsyncWebSocket.h"
#include "AsyncWebServerLogging.h"

#include <cstring>

#include <libb64/cencode.h>

#if defined(ESP32)
Expand All @@ -21,6 +19,10 @@
#include <mbedtls/sha1.h>
#endif

#include <cstring>
#include <memory>
#include <utility>

using namespace asyncsrv;

size_t webSocketSendFrameWindow(AsyncClient *client) {
Expand Down
2 changes: 2 additions & 0 deletions src/ESPAsyncWebServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#include <deque>
#include <functional>
#include <list>
#include <memory>
#include <unordered_map>
#include <utility>
#include <vector>

#if __has_include("ArduinoJson.h")
Expand Down
2 changes: 2 additions & 0 deletions src/WebHandlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include "WebHandlerImpl.h"
#include "AsyncWebServerLogging.h"

#include <utility>

using namespace asyncsrv;

AsyncWebHandler &AsyncWebHandler::setFilter(ArRequestFilterFunction fn) {
Expand Down
2 changes: 2 additions & 0 deletions src/WebRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#include "WebResponseImpl.h"
#include "AsyncWebServerLogging.h"
#include "literals.h"

#include <cstring>
#include <utility>

static inline bool isParamChar(char c) {
return ((c) && ((c) != '{') && ((c) != '[') && ((c) != '&') && ((c) != '='));
Expand Down
3 changes: 3 additions & 0 deletions src/WebResponses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#include "WebResponseImpl.h"
#include "AsyncWebServerLogging.h"

#include <memory>
#include <utility>

#ifndef CONFIG_LWIP_TCP_WND_DEFAULT
// as it is defined for esp32's LWIP
#define CONFIG_LWIP_TCP_WND_DEFAULT 5760
Expand Down
2 changes: 2 additions & 0 deletions src/WebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "ESPAsyncWebServer.h"
#include "WebHandlerImpl.h"

#include <utility>

#if defined(ESP32) || defined(TARGET_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2040) || defined(PICO_RP2350) || defined(LIBRETINY)
#include <WiFi.h>
#elif defined(ESP8266)
Expand Down