#include <TgWebhookTcpServer.h>
|
| TgWebhookTcpServer (unsigned short port, const std::string &path, const EventHandler &eventHandler) |
|
| TgWebhookTcpServer (unsigned short port, const Bot &bot) |
|
| TgWebhookServer (const typename boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >::endpoint_type &endpoint, const typename HttpServer< boost::asio::ip::tcp >::ServerHandler &handler)=delete |
|
| TgWebhookServer (const typename boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >::endpoint_type &endpoint, std::string path, const EventHandler &eventHandler) |
|
| TgWebhookServer (const typename boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >::endpoint_type &endpoint, const Bot &bot) |
|
| HttpServer (const typename boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >::endpoint_type &endpoint, ServerHandler handler) |
|
void | start () |
| Starts receiving new connections.
|
|
void | stop () |
| Stops receiving new connections.
|
|
This class setups HTTP server for receiving Telegram Update objects from tcp connections.
Definition at line 14 of file TgWebhookTcpServer.h.
◆ TgWebhookTcpServer() [1/2]
TgBot::TgWebhookTcpServer::TgWebhookTcpServer |
( |
unsigned short | port, |
|
|
const std::string & | path, |
|
|
const EventHandler & | eventHandler ) |
|
inline |
◆ TgWebhookTcpServer() [2/2]
TgBot::TgWebhookTcpServer::TgWebhookTcpServer |
( |
unsigned short | port, |
|
|
const Bot & | bot ) |
|
inline |
The documentation for this class was generated from the following file: