From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- .../class_tg_bot_1_1_tg_webhook_tcp_server.html | 282 +++++++++++++++++++++ .../d97/class_tg_bot_1_1_tg_webhook_tcp_server.js | 6 + .../d97/class_tg_bot_1_1_tg_webhook_tcp_server.png | Bin 0 -> 1486 bytes 3 files changed, 288 insertions(+) create mode 100644 docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html create mode 100644 docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.js create mode 100644 docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.png (limited to 'docs/d6/d97') diff --git a/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html b/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html new file mode 100644 index 0000000..2edd634 --- /dev/null +++ b/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html @@ -0,0 +1,282 @@ + + + + + + + +tgbot-cpp: TgBot::TgWebhookTcpServer Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::TgWebhookTcpServer Class Reference
+
+
+ +

#include <TgWebhookTcpServer.h>

+
+Inheritance diagram for TgBot::TgWebhookTcpServer:
+
+
+ + +TgBot::TgWebhookServer< boost::asio::ip::tcp > +TgBot::HttpServer< boost::asio::ip::tcp > + +
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 TgWebhookTcpServer (std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor, const std::string &path, EventHandler *eventHandler)=delete
 
 TgWebhookTcpServer (unsigned short port, const std::string &path, const EventHandler *eventHandler)
 
 TgWebhookTcpServer (const std::string &path, const Bot &bot)
 
- Public Member Functions inherited from TgBot::TgWebhookServer< boost::asio::ip::tcp >
 TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor, const typename HttpServer< boost::asio::ip::tcp >::ServerHandler &handler)=delete
 
 TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor, const std::string &path, const EventHandler *eventHandler)
 
 TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor, const std::string &path, const Bot &bot)
 
- Public Member Functions inherited from TgBot::HttpServer< boost::asio::ip::tcp >
 HttpServer (std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor, const ServerHandler &handler)
 
void start ()
 
void stop ()
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from TgBot::HttpServer< boost::asio::ip::tcp >
typedef std::function< std::string(const std::string &, const std::map< std::string, std::string >)> ServerHandler
 
- Protected Attributes inherited from TgBot::HttpServer< boost::asio::ip::tcp >
boost::asio::io_service _ioService
 
std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp > > _acceptor
 
const ServerHandler _handler
 
+

Detailed Description

+

This class setups HTTP server for receiving Telegram Update objects from tcp connections.

+ +

Definition at line 34 of file TgWebhookTcpServer.h.

+

Constructor & Destructor Documentation

+ +

◆ TgWebhookTcpServer() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
TgBot::TgWebhookTcpServer::TgWebhookTcpServer (std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor,
const std::string & path,
EventHandlereventHandler 
)
+
+delete
+
+ +
+
+ +

◆ TgWebhookTcpServer() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
TgBot::TgWebhookTcpServer::TgWebhookTcpServer (unsigned short port,
const std::string & path,
const EventHandlereventHandler 
)
+
+inline
+
+ +

Definition at line 39 of file TgWebhookTcpServer.h.

+ +
+
+ +

◆ TgWebhookTcpServer() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
TgBot::TgWebhookTcpServer::TgWebhookTcpServer (const std::string & path,
const Botbot 
)
+
+inline
+
+ +

Definition at line 44 of file TgWebhookTcpServer.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.js b/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.js new file mode 100644 index 0000000..bce1532 --- /dev/null +++ b/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.js @@ -0,0 +1,6 @@ +var class_tg_bot_1_1_tg_webhook_tcp_server = +[ + [ "TgWebhookTcpServer", "d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html#a20fcf9d23bee83730df8cf444573bf31", null ], + [ "TgWebhookTcpServer", "d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html#a7e1192771fa0448a6e2347902a74a032", null ], + [ "TgWebhookTcpServer", "d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html#a58d11a7cae91b02f58ba5597da28a103", null ] +]; \ No newline at end of file diff --git a/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.png b/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.png new file mode 100644 index 0000000..f23e3f8 Binary files /dev/null and b/docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.png differ -- cgit v1.2.3