summaryrefslogtreecommitdiff
path: root/docs/class_tg_bot_1_1_http_server.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/class_tg_bot_1_1_http_server.html')
-rw-r--r--docs/class_tg_bot_1_1_http_server.html374
1 files changed, 0 insertions, 374 deletions
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 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<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.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>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="navtree.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="resize.js"></script>
-<script type="text/javascript" src="navtreedata.js"></script>
-<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>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">tgbot-cpp
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.11 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
- <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">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
-</div>
-<script type="text/javascript">
-$(document).ready(function(){initNavTree('class_tg_bot_1_1_http_server.html','');});
-</script>
-<div id="doc-content">
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#nested-classes">Classes</a> &#124;
-<a href="#pub-types">Public Types</a> &#124;
-<a href="#pub-methods">Public Member Functions</a> &#124;
-<a href="#pro-attribs">Protected Attributes</a> &#124;
-<a href="class_tg_bot_1_1_http_server-members.html">List of all members</a> </div>
- <div class="headertitle">
-<div class="title">TgBot::HttpServer&lt; Protocol &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__net.html">Net</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>This class handles HTTP requests from the Internet.
- <a href="class_tg_bot_1_1_http_server.html#details">More...</a></p>
-
-<p><code>#include &lt;<a class="el" href="_http_server_8h_source.html">HttpServer.h</a>&gt;</code></p>
-<div class="dynheader">
-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&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>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
-Classes</h2></td></tr>
-<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server_1_1_connection.html">Connection</a></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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: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#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>
-<tr class="separator:aa237b199d8a0712b983e4913970ad7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:aeed8b9200cc2932126b9c27946751377"><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#aeed8b9200cc2932126b9c27946751377">stop</a> ()</td></tr>
-<tr class="memdesc:aeed8b9200cc2932126b9c27946751377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops receiving new connections. <a href="#aeed8b9200cc2932126b9c27946751377">More...</a><br /></td></tr>
-<tr class="separator:aeed8b9200cc2932126b9c27946751377"><td class="memSeparator" colspan="2">&#160;</td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
-Protected Attributes</h2></td></tr>
-<tr class="memitem:a68812914f5c398331ee3ef8e77fe39b7"><td class="memItemLeft" align="right" valign="top">boost::asio::io_service&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a68812914f5c398331ee3ef8e77fe39b7">_ioService</a></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#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>
-<div class="textblock"><h3>template&lt;typename Protocol&gt;<br />
-class TgBot::HttpServer&lt; Protocol &gt;</h3>
-
-<p>This class handles HTTP requests from the Internet. </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 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::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>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 class="anchor" id="a8edad0dd91ffffa6cacce4d49cb60abe"></a>
-<div class="memitem">
-<div class="memproto">
-<div class="memtemplate">
-template&lt;typename Protocol&gt; </div>
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><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">HttpServer</a> </td>
- <td>(</td>
- <td class="paramtype">std::shared_ptr&lt; boost::asio::basic_socket_acceptor&lt; Protocol &gt;&gt;&#160;</td>
- <td class="paramname"><em>acceptor</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></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>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<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 class="anchor" id="aa237b199d8a0712b983e4913970ad7f7"></a>
-<div class="memitem">
-<div class="memproto">
-<div class="memtemplate">
-template&lt;typename Protocol&gt; </div>
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::start </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Starts receiving new connections. </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 class="anchor" id="aeed8b9200cc2932126b9c27946751377"></a>
-<div class="memitem">
-<div class="memproto">
-<div class="memtemplate">
-template&lt;typename Protocol&gt; </div>
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::stop </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Stops receiving new connections. </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 class="anchor" id="a020e76d58f70ad41686081be41a8c108"></a>
-<div class="memitem">
-<div class="memproto">
-<div class="memtemplate">
-template&lt;typename Protocol&gt; </div>
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">std::shared_ptr&lt;boost::asio::basic_socket_acceptor&lt;Protocol&gt; &gt; <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::_acceptor</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<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 class="anchor" id="a9af2cf386463a1f40d0d3e9d92d88eec"></a>
-<div class="memitem">
-<div class="memproto">
-<div class="memtemplate">
-template&lt;typename Protocol&gt; </div>
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<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 class="anchor" id="a68812914f5c398331ee3ef8e77fe39b7"></a>
-<div class="memitem">
-<div class="memproto">
-<div class="memtemplate">
-template&lt;typename Protocol&gt; </div>
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">boost::asio::io_service <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>&lt; Protocol &gt;::_ioService</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<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>
-<hr/>The documentation for this class was generated from the following file:<ul>
-<li>include/tgbot/net/<a class="el" href="_http_server_8h_source.html">HttpServer.h</a></li>
-</ul>
-</div><!-- contents -->
-</div><!-- doc-content -->
-<!-- start footer part -->
-<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 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.11 </li>
- </ul>
-</div>
-</body>
-</html>