tgbot-cpp
Toggle main menu visibility
Loading...
Searching...
No Matches
TgWebhookTcpServer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
tgbot/TgWebhookServer.h
"
4
#include "
tgbot/export.h
"
5
6
#include <string>
7
8
namespace
TgBot
{
9
14
class
TGBOT_API
TgWebhookTcpServer
:
public
TgWebhookServer
<boost::asio::ip::tcp> {
15
public
:
16
TgWebhookTcpServer
(
unsigned
short
port,
const
std::string& path,
const
EventHandler
& eventHandler);
17
18
TgWebhookTcpServer
(
unsigned
short
port,
const
Bot
& bot);
19
};
20
21
}
// namespace TgBot
TgWebhookServer.h
TgBot::Bot
This object holds other objects specific for this bot instance.
Definition
Bot.h:20
TgBot::EventHandler
Definition
EventHandler.h:12
TgBot::TgWebhookServer< boost::asio::ip::tcp >::TgWebhookServer
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
TgBot::TgWebhookTcpServer::TgWebhookTcpServer
TgWebhookTcpServer(unsigned short port, const std::string &path, const EventHandler &eventHandler)
TgBot::TgWebhookTcpServer::TgWebhookTcpServer
TgWebhookTcpServer(unsigned short port, const Bot &bot)
export.h
TGBOT_API
#define TGBOT_API
Definition
export.h:5
TgBot
Definition
Api.h:17
include
tgbot
TgWebhookTcpServer.h
Generated on
for tgbot-cpp by
1.17.0