From d03eda27cdbe75470068d7513ecf510d8d342cf5 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:46:48 +0300 Subject: Docs --- docs/d4/d8b/class_tg_bot_1_1_http_server.html | 354 -------------------------- docs/d4/d8b/class_tg_bot_1_1_http_server.js | 11 - docs/d4/d8b/class_tg_bot_1_1_http_server.png | Bin 857 -> 0 bytes 3 files changed, 365 deletions(-) delete mode 100644 docs/d4/d8b/class_tg_bot_1_1_http_server.html delete mode 100644 docs/d4/d8b/class_tg_bot_1_1_http_server.js delete mode 100644 docs/d4/d8b/class_tg_bot_1_1_http_server.png (limited to 'docs/d4/d8b') diff --git a/docs/d4/d8b/class_tg_bot_1_1_http_server.html b/docs/d4/d8b/class_tg_bot_1_1_http_server.html deleted file mode 100644 index 849ea80..0000000 --- a/docs/d4/d8b/class_tg_bot_1_1_http_server.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - - -tgbot-cpp: TgBot::HttpServer< Protocol > Class Template Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
tgbot-cpp -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
TgBot::HttpServer< Protocol > Class Template Reference
-
-
- -

#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::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 ()
 
void stop ()
 
- - - - - - - -

-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 39 of file HttpServer.h.

-

Member Typedef Documentation

- -

◆ ServerHandler

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

Definition at line 42 of file HttpServer.h.

- -
-
-

Constructor & Destructor Documentation

- -

◆ HttpServer()

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

Definition at line 47 of file HttpServer.h.

- -
-
-

Member Function Documentation

- -

◆ start()

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

Starts receiving new connections.

- -

Definition at line 53 of file HttpServer.h.

- -
-
- -

◆ stop()

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

Stops receiving new connections.

- -

Definition at line 66 of file HttpServer.h.

- -
-
-

Member Data Documentation

- -

◆ _acceptor

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

Definition at line 96 of file HttpServer.h.

- -
-
- -

◆ _handler

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

Definition at line 97 of file HttpServer.h.

- -
-
- -

◆ _ioService

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

Definition at line 95 of file HttpServer.h.

- -
-
-
The documentation for this class was generated from the following file: -
-
- - - - diff --git a/docs/d4/d8b/class_tg_bot_1_1_http_server.js b/docs/d4/d8b/class_tg_bot_1_1_http_server.js deleted file mode 100644 index d46a684..0000000 --- a/docs/d4/d8b/class_tg_bot_1_1_http_server.js +++ /dev/null @@ -1,11 +0,0 @@ -var class_tg_bot_1_1_http_server = -[ - [ "Connection", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection" ], - [ "ServerHandler", "d4/d8b/class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b", null ], - [ "HttpServer", "d4/d8b/class_tg_bot_1_1_http_server.html#a8edad0dd91ffffa6cacce4d49cb60abe", null ], - [ "start", "d4/d8b/class_tg_bot_1_1_http_server.html#aa237b199d8a0712b983e4913970ad7f7", null ], - [ "stop", "d4/d8b/class_tg_bot_1_1_http_server.html#aeed8b9200cc2932126b9c27946751377", null ], - [ "_acceptor", "d4/d8b/class_tg_bot_1_1_http_server.html#a020e76d58f70ad41686081be41a8c108", null ], - [ "_handler", "d4/d8b/class_tg_bot_1_1_http_server.html#a9af2cf386463a1f40d0d3e9d92d88eec", null ], - [ "_ioService", "d4/d8b/class_tg_bot_1_1_http_server.html#a68812914f5c398331ee3ef8e77fe39b7", null ] -]; \ No newline at end of file diff --git a/docs/d4/d8b/class_tg_bot_1_1_http_server.png b/docs/d4/d8b/class_tg_bot_1_1_http_server.png deleted file mode 100644 index a0a23d7..0000000 Binary files a/docs/d4/d8b/class_tg_bot_1_1_http_server.png and /dev/null differ -- cgit v1.2.3