tgbot-cpp
Toggle main menu visibility
Loading...
Searching...
No Matches
TgWebhookLocalServer.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
#ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
9
10
namespace
TgBot
{
11
17
class
TGBOT_API
TgWebhookLocalServer :
public
TgWebhookServer
<boost::asio::local::stream_protocol> {
18
public
:
19
TgWebhookLocalServer(
const
std::string& unixSocketPath,
const
std::string& path,
const
EventHandler& eventHandler);
20
21
TgWebhookLocalServer(
const
std::string& unixSocketPath,
const
Bot& bot);
22
};
23
24
}
// namespace TgBot
25
26
#endif
// BOOST_ASIO_HAS_LOCAL_SOCKETS
TgWebhookServer.h
TgBot::TgWebhookServer
Definition
TgWebhookServer.h:20
export.h
TGBOT_API
#define TGBOT_API
Definition
export.h:5
TgBot
Definition
Api.h:17
include
tgbot
TgWebhookLocalServer.h
Generated on
for tgbot-cpp by
1.17.0