tgbot-cpp
Loading...
Searching...
No Matches
TgWebhookLocalServer.h
Go to the documentation of this file.
1#pragma once
2
4#include "tgbot/export.h"
5
6#include <string>
7
8#ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
9
10namespace TgBot {
11
17class TGBOT_API TgWebhookLocalServer : public TgWebhookServer<boost::asio::local::stream_protocol> {
18public:
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
#define TGBOT_API
Definition export.h:5
Definition Api.h:17