summaryrefslogtreecommitdiff
path: root/include/tgbot/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/net')
-rw-r--r--include/tgbot/net/BoostHttpOnlySslClient.h10
-rw-r--r--include/tgbot/net/CurlHttpClient.h10
-rw-r--r--include/tgbot/net/HttpClient.h6
-rw-r--r--include/tgbot/net/HttpParser.h6
-rw-r--r--include/tgbot/net/HttpReqArg.h4
-rw-r--r--include/tgbot/net/HttpServer.h8
-rw-r--r--include/tgbot/net/TgWebhookLocalServer.h4
-rw-r--r--include/tgbot/net/TgWebhookServer.h8
-rw-r--r--include/tgbot/net/TgWebhookTcpServer.h4
9 files changed, 30 insertions, 30 deletions
diff --git a/include/tgbot/net/BoostHttpOnlySslClient.h b/include/tgbot/net/BoostHttpOnlySslClient.h
index 9ddbba2..dbe0c96 100644
--- a/include/tgbot/net/BoostHttpOnlySslClient.h
+++ b/include/tgbot/net/BoostHttpOnlySslClient.h
@@ -1,16 +1,16 @@
#ifndef TGBOT_BOOSTHTTPCLIENT_H
#define TGBOT_BOOSTHTTPCLIENT_H
-#include <string>
-#include <vector>
-
-#include <boost/asio.hpp>
-
#include "tgbot/net/HttpClient.h"
#include "tgbot/net/Url.h"
#include "tgbot/net/HttpReqArg.h"
#include "tgbot/net/HttpParser.h"
+#include <boost/asio.hpp>
+
+#include <string>
+#include <vector>
+
namespace TgBot {
/**
diff --git a/include/tgbot/net/CurlHttpClient.h b/include/tgbot/net/CurlHttpClient.h
index cf120a4..0f93937 100644
--- a/include/tgbot/net/CurlHttpClient.h
+++ b/include/tgbot/net/CurlHttpClient.h
@@ -3,16 +3,16 @@
#ifdef HAVE_CURL
-#include <string>
-#include <vector>
-
-#include <curl/curl.h>
-
#include "tgbot/net/HttpClient.h"
#include "tgbot/net/Url.h"
#include "tgbot/net/HttpReqArg.h"
#include "tgbot/net/HttpParser.h"
+#include <curl/curl.h>
+
+#include <string>
+#include <vector>
+
namespace TgBot {
/**
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h
index 8542153..a35dd7d 100644
--- a/include/tgbot/net/HttpClient.h
+++ b/include/tgbot/net/HttpClient.h
@@ -1,12 +1,12 @@
#ifndef TGBOT_HTTPCLIENT_H
#define TGBOT_HTTPCLIENT_H
-#include <string>
-#include <vector>
-
#include "tgbot/net/Url.h"
#include "tgbot/net/HttpReqArg.h"
+#include <string>
+#include <vector>
+
namespace TgBot {
/**
diff --git a/include/tgbot/net/HttpParser.h b/include/tgbot/net/HttpParser.h
index fabeacf..870ac38 100644
--- a/include/tgbot/net/HttpParser.h
+++ b/include/tgbot/net/HttpParser.h
@@ -1,13 +1,13 @@
#ifndef TGBOT_HTTPPARSER_H
#define TGBOT_HTTPPARSER_H
+#include "tgbot/net/Url.h"
+#include "tgbot/net/HttpReqArg.h"
+
#include <string>
#include <unordered_map>
#include <vector>
-#include "tgbot/net/Url.h"
-#include "tgbot/net/HttpReqArg.h"
-
namespace TgBot {
class TGBOT_API HttpParser {
diff --git a/include/tgbot/net/HttpReqArg.h b/include/tgbot/net/HttpReqArg.h
index 30ab407..fcdd424 100644
--- a/include/tgbot/net/HttpReqArg.h
+++ b/include/tgbot/net/HttpReqArg.h
@@ -3,12 +3,12 @@
#include "tgbot/export.h"
+#include <boost/lexical_cast.hpp>
+
#include <string>
#include <vector>
#include <functional>
-#include <boost/lexical_cast.hpp>
-
namespace TgBot {
/**
diff --git a/include/tgbot/net/HttpServer.h b/include/tgbot/net/HttpServer.h
index 2eb229a..2c94dcf 100644
--- a/include/tgbot/net/HttpServer.h
+++ b/include/tgbot/net/HttpServer.h
@@ -1,6 +1,10 @@
#ifndef TGBOT_HTTPSERVER_H
#define TGBOT_HTTPSERVER_H
+#include "tgbot/net/HttpParser.h"
+
+#include <boost/asio.hpp>
+
#include <cstddef>
#include <exception>
#include <functional>
@@ -10,10 +14,6 @@
#include <unordered_map>
#include <utility>
-#include <boost/asio.hpp>
-
-#include "tgbot/net/HttpParser.h"
-
namespace TgBot {
/**
diff --git a/include/tgbot/net/TgWebhookLocalServer.h b/include/tgbot/net/TgWebhookLocalServer.h
index 4f1dc2b..25efa66 100644
--- a/include/tgbot/net/TgWebhookLocalServer.h
+++ b/include/tgbot/net/TgWebhookLocalServer.h
@@ -3,10 +3,10 @@
#ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
-#include <string>
-
#include "tgbot/net/TgWebhookServer.h"
+#include <string>
+
namespace TgBot {
/**
diff --git a/include/tgbot/net/TgWebhookServer.h b/include/tgbot/net/TgWebhookServer.h
index f0b08b3..8e89765 100644
--- a/include/tgbot/net/TgWebhookServer.h
+++ b/include/tgbot/net/TgWebhookServer.h
@@ -1,15 +1,15 @@
#ifndef TGBOT_TGHTTPSERVER_H
#define TGBOT_TGHTTPSERVER_H
-#include <string>
-#include <unordered_map>
-#include <utility>
-
#include "tgbot/Bot.h"
#include "tgbot/EventHandler.h"
#include "tgbot/TgTypeParser.h"
#include "tgbot/net/HttpServer.h"
+#include <string>
+#include <unordered_map>
+#include <utility>
+
namespace TgBot {
template<typename Protocol>
diff --git a/include/tgbot/net/TgWebhookTcpServer.h b/include/tgbot/net/TgWebhookTcpServer.h
index 53eec17..c812abe 100644
--- a/include/tgbot/net/TgWebhookTcpServer.h
+++ b/include/tgbot/net/TgWebhookTcpServer.h
@@ -1,10 +1,10 @@
#ifndef TGBOT_TGWEBHOOKTCPSERVER_H
#define TGBOT_TGWEBHOOKTCPSERVER_H
-#include <string>
-
#include "tgbot/net/TgWebhookServer.h"
+#include <string>
+
namespace TgBot {
/**