summaryrefslogtreecommitdiff
path: root/docs/class_tg_bot_1_1_http_parser.html
diff options
context:
space:
mode:
authorJellyBrick <shlee1503@naver.com>2018-06-22 22:15:42 +0900
committerJellyBrick <shlee1503@naver.com>2018-06-22 22:15:42 +0900
commit3e5a28fa0a1ba2d461271f22399476c241bcffe3 (patch)
tree91786e1a0b268678153fca0ef03c1e26549a077f /docs/class_tg_bot_1_1_http_parser.html
parente2871c54a71a8015923b8215816c2a81e1b0c209 (diff)
Regenerate docs
Diffstat (limited to 'docs/class_tg_bot_1_1_http_parser.html')
-rw-r--r--docs/class_tg_bot_1_1_http_parser.html446
1 files changed, 446 insertions, 0 deletions
diff --git a/docs/class_tg_bot_1_1_http_parser.html b/docs/class_tg_bot_1_1_http_parser.html
new file mode 100644
index 0000000..9ee3401
--- /dev/null
+++ b/docs/class_tg_bot_1_1_http_parser.html
@@ -0,0 +1,446 @@
+<!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::HttpParser Class 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_parser.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="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
+<a href="class_tg_bot_1_1_http_parser-members.html">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">TgBot::HttpParser Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include &lt;<a class="el" href="_http_parser_8h_source.html">HttpParser.h</a>&gt;</code></p>
+<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:a182538da4def93b40fdd6ac9398944f6"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a182538da4def93b40fdd6ac9398944f6">generateRequest</a> (const <a class="el" href="class_tg_bot_1_1_url.html">Url</a> &amp;url, const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;args, bool isKeepAlive=false)</td></tr>
+<tr class="separator:a182538da4def93b40fdd6ac9398944f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aec7201adbe2d835925716cceeddf9074"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#aec7201adbe2d835925716cceeddf9074">generateMultipartFormData</a> (const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;args, const std::string &amp;bondary)</td></tr>
+<tr class="separator:aec7201adbe2d835925716cceeddf9074"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1950d2edd050dd933a3a06f1292ac671"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a1950d2edd050dd933a3a06f1292ac671">generateMultipartBoundary</a> (const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;args)</td></tr>
+<tr class="separator:a1950d2edd050dd933a3a06f1292ac671"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af32ca4f29ff9bf6ebcde3b8eaf7f6eb4"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#af32ca4f29ff9bf6ebcde3b8eaf7f6eb4">generateWwwFormUrlencoded</a> (const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;args)</td></tr>
+<tr class="separator:af32ca4f29ff9bf6ebcde3b8eaf7f6eb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9ca6a48bea33e6258f550cb8eff11996"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a9ca6a48bea33e6258f550cb8eff11996">generateResponse</a> (const std::string &amp;data, const std::string &amp;mimeType=&quot;text/plain&quot;, short unsigned statusCode=200, const std::string &amp;statusStr=&quot;OK&quot;, bool isKeepAlive=false)</td></tr>
+<tr class="separator:a9ca6a48bea33e6258f550cb8eff11996"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae0ef9c43ea35abecc12db56d9fc28c3a"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#ae0ef9c43ea35abecc12db56d9fc28c3a">parseRequest</a> (const std::string &amp;data, std::unordered_map&lt; std::string, std::string &gt; &amp;headers)</td></tr>
+<tr class="separator:ae0ef9c43ea35abecc12db56d9fc28c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1d079d6433fa19dde0c1d45e95f1078d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a1d079d6433fa19dde0c1d45e95f1078d">parseRequest</a> (const std::string &amp;data)</td></tr>
+<tr class="separator:a1d079d6433fa19dde0c1d45e95f1078d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7161fcc67584704512888be7dc5d92af"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a7161fcc67584704512888be7dc5d92af">parseResponse</a> (const std::string &amp;data, std::unordered_map&lt; std::string, std::string &gt; &amp;headers)</td></tr>
+<tr class="separator:a7161fcc67584704512888be7dc5d92af"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2b1741c0cd99ca9fb09786bcdb9d2aeb"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a2b1741c0cd99ca9fb09786bcdb9d2aeb">parseResponse</a> (const std::string &amp;data)</td></tr>
+<tr class="separator:a2b1741c0cd99ca9fb09786bcdb9d2aeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:a2bd36ba8b363fa3209cf472621a2a8ab"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_tg_bot_1_1_http_parser.html">HttpParser</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_http_parser.html#a2bd36ba8b363fa3209cf472621a2a8ab">getInstance</a> ()</td></tr>
+<tr class="separator:a2bd36ba8b363fa3209cf472621a2a8ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock">
+<p>Definition at line <a class="el" href="_http_parser_8h_source.html#l00035">35</a> of file <a class="el" href="_http_parser_8h_source.html">HttpParser.h</a>.</p>
+</div><h2 class="groupheader">Member Function Documentation</h2>
+<a class="anchor" id="a1950d2edd050dd933a3a06f1292ac671"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::generateMultipartBoundary </td>
+ <td>(</td>
+ <td class="paramtype">const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;&#160;</td>
+ <td class="paramname"><em>args</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="aec7201adbe2d835925716cceeddf9074"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::generateMultipartFormData </td>
+ <td>(</td>
+ <td class="paramtype">const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;&#160;</td>
+ <td class="paramname"><em>args</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>bondary</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a182538da4def93b40fdd6ac9398944f6"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::generateRequest </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_url.html">Url</a> &amp;&#160;</td>
+ <td class="paramname"><em>url</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;&#160;</td>
+ <td class="paramname"><em>args</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool&#160;</td>
+ <td class="paramname"><em>isKeepAlive</em> = <code>false</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a9ca6a48bea33e6258f550cb8eff11996"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::generateResponse </td>
+ <td>(</td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>data</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>mimeType</em> = <code>&quot;text/plain&quot;</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">short unsigned&#160;</td>
+ <td class="paramname"><em>statusCode</em> = <code>200</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>statusStr</em> = <code>&quot;OK&quot;</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool&#160;</td>
+ <td class="paramname"><em>isKeepAlive</em> = <code>false</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="af32ca4f29ff9bf6ebcde3b8eaf7f6eb4"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::generateWwwFormUrlencoded </td>
+ <td>(</td>
+ <td class="paramtype">const std::vector&lt; <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> &gt; &amp;&#160;</td>
+ <td class="paramname"><em>args</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a2bd36ba8b363fa3209cf472621a2a8ab"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="class_tg_bot_1_1_http_parser.html">HttpParser</a>&amp; TgBot::HttpParser::getInstance </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="ae0ef9c43ea35abecc12db56d9fc28c3a"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::parseRequest </td>
+ <td>(</td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>data</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
+ <td class="paramname"><em>headers</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_parser_8h_source.html#l00046">46</a> of file <a class="el" href="_http_parser_8h_source.html">HttpParser.h</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a1d079d6433fa19dde0c1d45e95f1078d"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::parseRequest </td>
+ <td>(</td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>data</em></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_parser_8h_source.html#l00050">50</a> of file <a class="el" href="_http_parser_8h_source.html">HttpParser.h</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a7161fcc67584704512888be7dc5d92af"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::parseResponse </td>
+ <td>(</td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>data</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
+ <td class="paramname"><em>headers</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_parser_8h_source.html#l00054">54</a> of file <a class="el" href="_http_parser_8h_source.html">HttpParser.h</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a2b1741c0cd99ca9fb09786bcdb9d2aeb"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::string TgBot::HttpParser::parseResponse </td>
+ <td>(</td>
+ <td class="paramtype">const std::string &amp;&#160;</td>
+ <td class="paramname"><em>data</em></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_parser_8h_source.html#l00058">58</a> of file <a class="el" href="_http_parser_8h_source.html">HttpParser.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_parser_8h_source.html">HttpParser.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_parser.html">HttpParser</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>