1#ifndef TGBOT_TGWEBHOOKLOCALSERVER_H
2#define TGBOT_TGWEBHOOKLOCALSERVER_H
4#ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
21 :
TgWebhookServer<boost::asio::local::stream_protocol>(boost::asio::local::stream_protocol::endpoint(unixSocketPath),
27 :
TgWebhookServer<boost::asio::local::stream_protocol>(boost::asio::local::stream_protocol::endpoint(unixSocketPath),
This object holds other objects specific for this bot instance.
This class setups HTTP server for receiving Telegram Update objects from unix socket.
TgWebhookLocalServer(const std::string &unixSocketPath, const Bot &bot)
TgWebhookLocalServer(const std::string &unixSocketPath, const std::string &path, const EventHandler &eventHandler)