summaryrefslogtreecommitdiff
path: root/include/tgbot/net/HttpServer.h
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2018-06-05 19:06:23 +0300
committerGitHub <noreply@github.com>2018-06-05 19:06:23 +0300
commit1a90b5022d47bc0059214381b74db6fae9767cef (patch)
treef88e480700cb36f8acdcfdebcbac01328f16c98d /include/tgbot/net/HttpServer.h
parent381a1cd0d949db88abd0b28bc717a8690b93ccc0 (diff)
parent0f4e792a641527aa590a1a9e23bdaad2f16ab6bc (diff)
Merge pull request #63 from JellyBrick/master
Bot API 2.2 (Game) update / Add optimization option
Diffstat (limited to 'include/tgbot/net/HttpServer.h')
-rw-r--r--include/tgbot/net/HttpServer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/tgbot/net/HttpServer.h b/include/tgbot/net/HttpServer.h
index d68599f..e760e29 100644
--- a/include/tgbot/net/HttpServer.h
+++ b/include/tgbot/net/HttpServer.h
@@ -32,7 +32,8 @@
namespace TgBot {
/**
- * This class handles HTTP requests from the Internet.
+ * @brief This class handles HTTP requests from the Internet.
+ *
* @ingroup net
*/
template<typename Protocol>
@@ -48,7 +49,7 @@ public:
}
/**
- * Starts receiving new connections.
+ * @brief Starts receiving new connections.
*/
void start() {
auto socket(std::make_shared<boost::asio::basic_stream_socket<Protocol>>(_acceptor->get_io_service()));
@@ -61,7 +62,7 @@ public:
}
/**
- * Stops receiving new connections.
+ * @brief Stops receiving new connections.
*/
void stop() {
_ioService.stop();