diff options
Diffstat (limited to 'docs/class_tg_bot_1_1_http_server.html')
-rw-r--r-- | docs/class_tg_bot_1_1_http_server.html | 374 |
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< Protocol > 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 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 List</span></a></li> - <li><a href="classes.html"><span>Class Index</span></a></li> - <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> - <li><a href="functions.html"><span>Class 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> | -<a href="#pub-types">Public Types</a> | -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pro-attribs">Protected Attributes</a> | -<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< Protocol > 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 <<a class="el" href="_http_server_8h_source.html">HttpServer.h</a>></code></p> -<div class="dynheader"> -Inheritance diagram for TgBot::HttpServer< Protocol >:</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< Protocol >_map"> -<area href="class_tg_bot_1_1_tg_webhook_server.html" alt="TgBot::TgWebhookServer< Protocol >" 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  </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"> </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< std::string(const std::string &, const std::unordered_map< std::string, std::string >)> </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"> </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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_server.html#a8edad0dd91ffffa6cacce4d49cb60abe">HttpServer</a> (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const <a class="el" href="class_tg_bot_1_1_http_server.html#ad8b31e813a287809453853694ee0fad0">ServerHandler</a> &handler)</td></tr> -<tr class="separator:a8edad0dd91ffffa6cacce4d49cb60abe"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aa237b199d8a0712b983e4913970ad7f7"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr> -<tr class="memitem:aeed8b9200cc2932126b9c27946751377"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </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 </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"> </td></tr> -<tr class="memitem:a020e76d58f70ad41686081be41a8c108"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol > > </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"> </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> </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"> </td></tr> -</table> -<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> -<div class="textblock"><h3>template<typename Protocol><br /> -class TgBot::HttpServer< Protocol ></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<typename Protocol> </div> - <table class="memname"> - <tr> - <td class="memname">typedef std::function<std::string (const std::string&, const std::unordered_map<std::string, std::string>)> <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>< Protocol >::<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 & Destructor Documentation</h2> -<a class="anchor" id="a8edad0dd91ffffa6cacce4d49cb60abe"></a> -<div class="memitem"> -<div class="memproto"> -<div class="memtemplate"> -template<typename Protocol> </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>< Protocol >::<a class="el" href="class_tg_bot_1_1_http_server.html">HttpServer</a> </td> - <td>(</td> - <td class="paramtype">std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> </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> & </td> - <td class="paramname"><em>handler</em> </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<typename Protocol> </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>< Protocol >::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<typename Protocol> </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>< Protocol >::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<typename Protocol> </div> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol> > <a class="el" href="class_tg_bot_1_1_http_server.html">TgBot::HttpServer</a>< Protocol >::_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<typename Protocol> </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>< Protocol >::_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<typename Protocol> </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>< Protocol >::_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> |