summaryrefslogtreecommitdiff
path: root/docs/class_tg_bot_1_1_http_server.html
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2018-06-22 23:23:00 +0300
committerGitHub <noreply@github.com>2018-06-22 23:23:00 +0300
commitf31df3f057c81aec138d2e0cb09079a6ec57fc43 (patch)
tree7316a800504882fcc36ca5c61d8128c89c5d4eb5 /docs/class_tg_bot_1_1_http_server.html
parenta854dd975f13e71338c80d85717be6fb6e8c185a (diff)
parentacbb803e4c245e70d75587a7491995e88320324e (diff)
Merge pull request #69 from JellyBrick/master
Bot API 3.0 implementation done. / Support build shared library.
Diffstat (limited to 'docs/class_tg_bot_1_1_http_server.html')
-rw-r--r--docs/class_tg_bot_1_1_http_server.html115
1 files changed, 64 insertions, 51 deletions
diff --git a/docs/class_tg_bot_1_1_http_server.html b/docs/class_tg_bot_1_1_http_server.html
index 19975a4..b645983 100644
--- a/docs/class_tg_bot_1_1_http_server.html
+++ b/docs/class_tg_bot_1_1_http_server.html
@@ -3,8 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<meta name="generator" content="Doxygen 1.8.11"/>
<title>tgbot-cpp: TgBot::HttpServer&lt; Protocol &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
@@ -15,10 +14,14 @@
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
+ $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { init_search(); });
+</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
@@ -36,19 +39,43 @@
</table>
</div>
<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
+<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
+ <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
+ </ul>
+ </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
@@ -99,7 +126,7 @@ Inheritance diagram for TgBot::HttpServer&lt; Protocol &gt;:</div>
<div class="dyncontent">
<div class="center">
<img src="class_tg_bot_1_1_http_server.png" usemap="#TgBot::HttpServer_3C_20Protocol_20_3E_map" alt=""/>
- <map id="TgBot::HttpServer_3C_20Protocol_20_3E_map" name="TgBot::HttpServer_3C_20Protocol_20_3E_map">
+ <map id="TgBot::HttpServer_3C_20Protocol_20_3E_map" name="TgBot::HttpServer&lt; Protocol &gt;_map">
<area href="class_tg_bot_1_1_tg_webhook_server.html" alt="TgBot::TgWebhookServer&lt; Protocol &gt;" shape="rect" coords="0,56,226,80"/>
</map>
</div></div>
@@ -111,12 +138,12 @@ Classes</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
-<tr class="memitem:ae3b5d008d0ec0c9dd14b4a8bccdf8c0b"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; std::string(const std::string &amp;, const std::map&lt; std::string, std::string &gt;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">ServerHandler</a></td></tr>
-<tr class="separator:ae3b5d008d0ec0c9dd14b4a8bccdf8c0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad8b31e813a287809453853694ee0fad0"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; std::string(const std::string &amp;, const std::unordered_map&lt; std::string, std::string &gt;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a></td></tr>
+<tr class="separator:ad8b31e813a287809453853694ee0fad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
-<tr class="memitem:a8edad0dd91ffffa6cacce4d49cb60abe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a8edad0dd91ffffa6cacce4d49cb60abe">HttpServer</a> (std::shared_ptr&lt; boost::asio::basic_socket_acceptor&lt; Protocol &gt;&gt; acceptor, const <a class="el" href="class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">ServerHandler</a> &amp;handler)</td></tr>
+<tr class="memitem:a8edad0dd91ffffa6cacce4d49cb60abe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a8edad0dd91ffffa6cacce4d49cb60abe">HttpServer</a> (std::shared_ptr&lt; boost::asio::basic_socket_acceptor&lt; Protocol &gt;&gt; acceptor, const <a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a> &amp;handler)</td></tr>
<tr class="separator:a8edad0dd91ffffa6cacce4d49cb60abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa237b199d8a0712b983e4913970ad7f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#aa237b199d8a0712b983e4913970ad7f7">start</a> ()</td></tr>
<tr class="memdesc:aa237b199d8a0712b983e4913970ad7f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts receiving new connections. <a href="#aa237b199d8a0712b983e4913970ad7f7">More...</a><br /></td></tr>
@@ -131,7 +158,7 @@ Protected Attributes</h2></td></tr>
<tr class="separator:a68812914f5c398331ee3ef8e77fe39b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a020e76d58f70ad41686081be41a8c108"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; boost::asio::basic_socket_acceptor&lt; Protocol &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a020e76d58f70ad41686081be41a8c108">_acceptor</a></td></tr>
<tr class="separator:a020e76d58f70ad41686081be41a8c108"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a9af2cf386463a1f40d0d3e9d92d88eec"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">ServerHandler</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a9af2cf386463a1f40d0d3e9d92d88eec">_handler</a></td></tr>
+<tr class="memitem:a9af2cf386463a1f40d0d3e9d92d88eec"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a9af2cf386463a1f40d0d3e9d92d88eec">_handler</a></td></tr>
<tr class="separator:a9af2cf386463a1f40d0d3e9d92d88eec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
@@ -140,30 +167,26 @@ class TgBot::HttpServer&lt; Protocol &gt;</h3>
<p>This class handles HTTP requests from the Internet. </p>
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00040">40</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00040">40</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
-<a id="ae3b5d008d0ec0c9dd14b4a8bccdf8c0b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">&#9670;&nbsp;</a></span>ServerHandler</h2>
-
+<a class="anchor" id="ad8b31e813a287809453853694ee0fad0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Protocol&gt; </div>
<table class="memname">
<tr>
- <td class="memname">typedef std::function&lt;std::string (const std::string&amp;, const std::map&lt;std::string, std::string&gt;)&gt; <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::<a class="el" href="class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">ServerHandler</a></td>
+ <td class="memname">typedef std::function&lt;std::string (const std::string&amp;, const std::unordered_map&lt;std::string, std::string&gt;)&gt; <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::<a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a></td>
</tr>
</table>
</div><div class="memdoc">
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00043">43</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00043">43</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
-<a id="a8edad0dd91ffffa6cacce4d49cb60abe"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a8edad0dd91ffffa6cacce4d49cb60abe">&#9670;&nbsp;</a></span>HttpServer()</h2>
-
+<a class="anchor" id="a8edad0dd91ffffa6cacce4d49cb60abe"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
@@ -181,7 +204,7 @@ template&lt;typename Protocol&gt; </div>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">ServerHandler</a> &amp;&#160;</td>
+ <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a> &amp;&#160;</td>
<td class="paramname"><em>handler</em>&#160;</td>
</tr>
<tr>
@@ -197,14 +220,12 @@ template&lt;typename Protocol&gt; </div>
</table>
</div><div class="memdoc">
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00048">48</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00048">48</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
-<a id="aa237b199d8a0712b983e4913970ad7f7"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aa237b199d8a0712b983e4913970ad7f7">&#9670;&nbsp;</a></span>start()</h2>
-
+<a class="anchor" id="aa237b199d8a0712b983e4913970ad7f7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
@@ -229,13 +250,11 @@ template&lt;typename Protocol&gt; </div>
<p>Starts receiving new connections. </p>
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00054">54</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00054">54</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
-<a id="aeed8b9200cc2932126b9c27946751377"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aeed8b9200cc2932126b9c27946751377">&#9670;&nbsp;</a></span>stop()</h2>
-
+<a class="anchor" id="aeed8b9200cc2932126b9c27946751377"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
@@ -260,14 +279,12 @@ template&lt;typename Protocol&gt; </div>
<p>Stops receiving new connections. </p>
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00067">67</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00067">67</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
-<a id="a020e76d58f70ad41686081be41a8c108"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a020e76d58f70ad41686081be41a8c108">&#9670;&nbsp;</a></span>_acceptor</h2>
-
+<a class="anchor" id="a020e76d58f70ad41686081be41a8c108"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
@@ -287,13 +304,11 @@ template&lt;typename Protocol&gt; </div>
</table>
</div><div class="memdoc">
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00097">97</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00097">97</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
-<a id="a9af2cf386463a1f40d0d3e9d92d88eec"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a9af2cf386463a1f40d0d3e9d92d88eec">&#9670;&nbsp;</a></span>_handler</h2>
-
+<a class="anchor" id="a9af2cf386463a1f40d0d3e9d92d88eec"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
@@ -303,7 +318,7 @@ template&lt;typename Protocol&gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
- <td class="memname">const <a class="el" href="class_tg_bot_1_1_http_server.html#ae3b5d008d0ec0c9dd14b4a8bccdf8c0b">ServerHandler</a> <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::_handler</td>
+ <td class="memname">const <a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a> <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::_handler</td>
</tr>
</table>
</td>
@@ -313,13 +328,11 @@ template&lt;typename Protocol&gt; </div>
</table>
</div><div class="memdoc">
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00098">98</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00098">98</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
-<a id="a68812914f5c398331ee3ef8e77fe39b7"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a68812914f5c398331ee3ef8e77fe39b7">&#9670;&nbsp;</a></span>_ioService</h2>
-
+<a class="anchor" id="a68812914f5c398331ee3ef8e77fe39b7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
@@ -339,7 +352,7 @@ template&lt;typename Protocol&gt; </div>
</table>
</div><div class="memdoc">
-<p class="definition">Definition at line <a class="el" href="_http_server_8h_source.html#l00096">96</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
+<p>Definition at line <a class="el" href="_http_server_8h_source.html#l00096">96</a> of file <a class="el" href="_http_server_8h_source.html">HttpServer.h</a>.</p>
</div>
</div>
@@ -352,9 +365,9 @@ template&lt;typename Protocol&gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespace_tg_bot.html">TgBot</a></li><li class="navelem"><a class="el" href="class_tg_bot_1_1_http_server.html">HttpServer</a></li>
- <li class="footer">Generated on Tue Jun 5 2018 19:07:15 for tgbot-cpp by
+ <li class="footer">Generated on Fri Jun 22 2018 22:14:16 for tgbot-cpp by
<a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>