From f13b7029e9af43282ebe6c2e9bb4dd749c8e450a Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Mon, 23 Jul 2018 02:09:18 +0300 Subject: Move docs to gh-pages branch --- docs/class_tg_bot_1_1_http_server.html | 374 --------------------------------- 1 file changed, 374 deletions(-) delete mode 100644 docs/class_tg_bot_1_1_http_server.html (limited to 'docs/class_tg_bot_1_1_http_server.html') diff --git a/docs/class_tg_bot_1_1_http_server.html b/docs/class_tg_bot_1_1_http_server.html deleted file mode 100644 index b645983..0000000 --- a/docs/class_tg_bot_1_1_http_server.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - -tgbot-cpp: TgBot::HttpServer< Protocol > Class Template Reference - - - - - - - - - - - - - - - -
-
- - - - - - -
-
tgbot-cpp -
-
-
- - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
TgBot::HttpServer< Protocol > Class Template Reference
-
-
- -

This class handles HTTP requests from the Internet. - More...

- -

#include <HttpServer.h>

-
-Inheritance diagram for TgBot::HttpServer< Protocol >:
-
-
- - -TgBot::TgWebhookServer< Protocol > - -
- - - - -

-Classes

class  Connection
 
- - - -

-Public Types

typedef std::function< std::string(const std::string &, const std::unordered_map< std::string, std::string >)> ServerHandler
 
- - - - - - - - - -

-Public Member Functions

 HttpServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const ServerHandler &handler)
 
void start ()
 Starts receiving new connections. More...
 
void stop ()
 Stops receiving new connections. More...
 
- - - - - - - -

-Protected Attributes

boost::asio::io_service _ioService
 
std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol > > _acceptor
 
const ServerHandler _handler
 
-

Detailed Description

-

template<typename Protocol>
-class TgBot::HttpServer< Protocol >

- -

This class handles HTTP requests from the Internet.

- -

Definition at line 40 of file HttpServer.h.

-

Member Typedef Documentation

- -
-
-
-template<typename Protocol>
- - - - -
typedef std::function<std::string (const std::string&, const std::unordered_map<std::string, std::string>)> TgBot::HttpServer< Protocol >::ServerHandler
-
- -

Definition at line 43 of file HttpServer.h.

- -
-
-

Constructor & Destructor Documentation

- -
-
-
-template<typename Protocol>
- - - - - -
- - - - - - - - - - - - - - - - - - -
TgBot::HttpServer< Protocol >::HttpServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor,
const ServerHandlerhandler 
)
-
-inline
-
- -

Definition at line 48 of file HttpServer.h.

- -
-
-

Member Function Documentation

- -
-
-
-template<typename Protocol>
- - - - - -
- - - - - - - -
void TgBot::HttpServer< Protocol >::start ()
-
-inline
-
- -

Starts receiving new connections.

- -

Definition at line 54 of file HttpServer.h.

- -
-
- -
-
-
-template<typename Protocol>
- - - - - -
- - - - - - - -
void TgBot::HttpServer< Protocol >::stop ()
-
-inline
-
- -

Stops receiving new connections.

- -

Definition at line 67 of file HttpServer.h.

- -
-
-

Member Data Documentation

- -
-
-
-template<typename Protocol>
- - - - - -
- - - - -
std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol> > TgBot::HttpServer< Protocol >::_acceptor
-
-protected
-
- -

Definition at line 97 of file HttpServer.h.

- -
-
- -
-
-
-template<typename Protocol>
- - - - - -
- - - - -
const ServerHandler TgBot::HttpServer< Protocol >::_handler
-
-protected
-
- -

Definition at line 98 of file HttpServer.h.

- -
-
- -
-
-
-template<typename Protocol>
- - - - - -
- - - - -
boost::asio::io_service TgBot::HttpServer< Protocol >::_ioService
-
-protected
-
- -

Definition at line 96 of file HttpServer.h.

- -
-
-
The documentation for this class was generated from the following file: -
-
- - - - -- cgit v1.2.3