diff --git a/ixwebsocket/IXDNSLookup.h b/ixwebsocket/IXDNSLookup.h index 30b364ba..754da263 100644 --- a/ixwebsocket/IXDNSLookup.h +++ b/ixwebsocket/IXDNSLookup.h @@ -12,10 +12,10 @@ #include "IXCancellationRequest.h" #include +#include #include #include #include -#include struct addrinfo; diff --git a/ixwebsocket/IXHttp.h b/ixwebsocket/IXHttp.h index ebdc50ad..81da6edb 100644 --- a/ixwebsocket/IXHttp.h +++ b/ixwebsocket/IXHttp.h @@ -6,8 +6,8 @@ #pragma once -#include "IXWebSocketHttpHeaders.h" #include "IXProgressCallback.h" +#include "IXWebSocketHttpHeaders.h" #include namespace ix @@ -111,10 +111,12 @@ namespace ix class Http { public: - static std::tuple parseRequest(std::shared_ptr socket); + static std::tuple parseRequest( + std::shared_ptr socket); static bool sendResponse(HttpResponsePtr response, std::shared_ptr socket); - static std::tuple parseRequestLine(const std::string& line); + static std::tuple parseRequestLine( + const std::string& line); static std::string trim(const std::string& str); }; -} +} // namespace ix diff --git a/ixwebsocket/IXHttpClient.h b/ixwebsocket/IXHttpClient.h index 901ed5d4..b1b711bf 100644 --- a/ixwebsocket/IXHttpClient.h +++ b/ixwebsocket/IXHttpClient.h @@ -6,9 +6,9 @@ #pragma once +#include "IXHttp.h" #include "IXSocket.h" #include "IXWebSocketHttpHeaders.h" -#include "IXHttp.h" #include #include #include diff --git a/ixwebsocket/IXHttpServer.h b/ixwebsocket/IXHttpServer.h index 5b843827..67c2c6b1 100644 --- a/ixwebsocket/IXHttpServer.h +++ b/ixwebsocket/IXHttpServer.h @@ -6,9 +6,9 @@ #pragma once +#include "IXHttp.h" #include "IXSocketServer.h" #include "IXWebSocket.h" -#include "IXHttp.h" #include #include #include @@ -47,4 +47,3 @@ namespace ix void setDefaultConnectionCallback(); }; } // namespace ix - diff --git a/test/IXTest.h b/test/IXTest.h index 463ad153..ccd8e1c3 100644 --- a/test/IXTest.h +++ b/test/IXTest.h @@ -6,9 +6,9 @@ #pragma once +#include "IXGetFreePort.h" #include #include -#include "IXGetFreePort.h" #include #include #include