You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

159 lines
24 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Webserv: includes/Client.hpp Source File</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="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>
<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 id="projectrow">
<td id="projectalign">
<div id="projectname">Webserv
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_09e761304027c904456130627fd4dcf5.html">includes</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">Client.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="Client_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &quot;<a class="code" href="webserv_8hpp.html">webserv.hpp</a>&quot;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"><a class="line" href="classClient.html"> 4</a></span><span class="keyword">class </span><a class="code hl_class" href="classClient.html">Client</a> {</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"><a class="line" href="classClient.html#a76a7d1bb0a940f1b180ac251b47e6cf4"> 5</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classClient.html#a76a7d1bb0a940f1b180ac251b47e6cf4">_fd</a>;</div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"><a class="line" href="classClient.html#a7f318232807a0d483841ce22e1910bc7"> 6</a></span> <a class="code hl_struct" href="structip__port__s.html">ip_port_t</a> <a class="code hl_variable" href="classClient.html#a7f318232807a0d483841ce22e1910bc7">_ip_port</a>;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"><a class="line" href="classClient.html#a62889754be24e772908ce370f2ba0199"> 7</a></span> <a class="code hl_class" href="classMaster.html">Master</a> *<a class="code hl_variable" href="classClient.html#a62889754be24e772908ce370f2ba0199">_parent</a>;</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classClient.html#a49268fda2ecee38b54f85581329b3920"> 8</a></span> <a class="code hl_class" href="classServer.html">Server</a> *<a class="code hl_variable" href="classClient.html#a49268fda2ecee38b54f85581329b3920">_server</a>;</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classClient.html#a429e302dd255c112725f432f0ca9a1de"> 9</a></span> <a class="code hl_class" href="classEnv.html">Env</a> *<a class="code hl_variable" href="classClient.html#a429e302dd255c112725f432f0ca9a1de">_env</a>;</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classClient.html#a612d8a71243e1fa5b29ec952a6804b66"> 10</a></span> <a class="code hl_class" href="classRoute.html">Route</a> *<a class="code hl_variable" href="classClient.html#a612d8a71243e1fa5b29ec952a6804b66">_route</a>;</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classClient.html#a1c3b8a2f750c8578d3bef07f2d9fe8f5"> 11</a></span> <span class="keywordtype">string</span> <a class="code hl_variable" href="classClient.html#a6033d622cb33f0ea41313e859b621606">_method</a>, <a class="code hl_variable" href="classClient.html#a7af52bcb17cc9d34c2207d0e540f6ac1">_uri</a>, <a class="code hl_variable" href="classClient.html#a7ac7f7134aa234289d43e9e1404226fd">_query</a>, <a class="code hl_variable" href="classClient.html#a2ceac8ae6b5be095334bcfa495da4f4b">_host</a>, <a class="code hl_variable" href="classClient.html#abbbc980dcbfaf7db2cf1d50cac87cef6">_header</a>, <a class="code hl_variable" href="classClient.html#a1c3b8a2f750c8578d3bef07f2d9fe8f5">_body</a>;</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classClient.html#a3c5fe029aa5e2293d7c31e79dda7a937"> 12</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classClient.html#a3c5fe029aa5e2293d7c31e79dda7a937">_len</a>;</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classClient.html#ad76783880af38b42a854937101819ad2"> 13</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classClient.html#ad76783880af38b42a854937101819ad2">_last_chunk</a>;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classClient.html#a502dd093f921afb109cddebf88e135b7"> 14</a></span> std::map&lt;string, vec_string&gt; <a class="code hl_variable" href="classClient.html#a502dd093f921afb109cddebf88e135b7">_request</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#a5f6dcf73d3321725f64145bc065e1d1f">init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classClient.html#a8d671d9129091ed238c9833f4d3b5dda">getBody</a>(<span class="keywordtype">string</span> paquet);</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classClient.html#a3e6860ba08a116dcc3e75d97d91297c7">parseHeader</a>(<a class="code hl_class" href="classEnv.html">Env</a> *env);</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keywordtype">string</span> <a class="code hl_function" href="classClient.html#aab596e9a3653c01abb942bc6ee3001fa">header_pick</a>(<span class="keywordtype">string</span> key, <span class="keywordtype">size_t</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classClient.html#a674ad248447cc8ff80b4326d4fadfa6b">check_method</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#a034a4f9166be42ffb3844b402a4f1881">create_file</a>(<span class="keywordtype">string</span> path);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#a9f221331479aa9502ee2c372164095fc">cgi</a>(<span class="keywordtype">string</span> cgi_path, <span class="keywordtype">string</span> path);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#a0c6bb0009c8415f9e49130cd7b6ecc8c">send_redir</a>(<span class="keywordtype">int</span> redir_code, <span class="keywordtype">string</span> opt);</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#ac5ee168964331e90a3afcf8531f3cca7">send_error</a>(<span class="keywordtype">int</span> error_code);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#a44bd2f49f7a1d456c8ae9c4b22302540">send_answer</a>(<span class="keywordtype">string</span> msg);</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#a1a58e00763626d48ee8625ad16a95d08">debug_header</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <a class="code hl_class" href="classClient.html">Client</a>(<span class="keywordtype">int</span> fd, <a class="code hl_struct" href="structip__port__s.html">ip_port_t</a> ip_port, <a class="code hl_class" href="classMaster.html">Master</a> *parent);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <a class="code hl_function" href="classClient.html#a66e3074e5f09c5e9bb4ec36bdea01c91">~Client</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classClient.html#acbcc94de0dd77b5635b574c9f23acdb8">getRequest</a>(<a class="code hl_class" href="classEnv.html">Env</a> *env, <span class="keywordtype">string</span> paquet);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classClient.html#aa3fd6ca9ee860544e53a84cae96c19cb">handleRequest</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classClient.html#a34b85c36cc2386b553fcff72fc15a596"> 37</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classMaster.html">Master</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>};</div>
<div class="ttc" id="aclassClient_html"><div class="ttname"><a href="classClient.html">Client</a></div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00004">Client.hpp:4</a></div></div>
<div class="ttc" id="aclassClient_html_a034a4f9166be42ffb3844b402a4f1881"><div class="ttname"><a href="classClient.html#a034a4f9166be42ffb3844b402a4f1881">Client::create_file</a></div><div class="ttdeci">void create_file(string path)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00167">Client.cpp:167</a></div></div>
<div class="ttc" id="aclassClient_html_a0c6bb0009c8415f9e49130cd7b6ecc8c"><div class="ttname"><a href="classClient.html#a0c6bb0009c8415f9e49130cd7b6ecc8c">Client::send_redir</a></div><div class="ttdeci">void send_redir(int redir_code, string opt)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00212">Client.cpp:212</a></div></div>
<div class="ttc" id="aclassClient_html_a1a58e00763626d48ee8625ad16a95d08"><div class="ttname"><a href="classClient.html#a1a58e00763626d48ee8625ad16a95d08">Client::debug_header</a></div><div class="ttdeci">void debug_header(void)</div><div class="ttdef"><b>Definition:</b> <a href="debug_8cpp_source.html#l00011">debug.cpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_a1c3b8a2f750c8578d3bef07f2d9fe8f5"><div class="ttname"><a href="classClient.html#a1c3b8a2f750c8578d3bef07f2d9fe8f5">Client::_body</a></div><div class="ttdeci">string _body</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00011">Client.hpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_a2ceac8ae6b5be095334bcfa495da4f4b"><div class="ttname"><a href="classClient.html#a2ceac8ae6b5be095334bcfa495da4f4b">Client::_host</a></div><div class="ttdeci">string _host</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00011">Client.hpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_a3c5fe029aa5e2293d7c31e79dda7a937"><div class="ttname"><a href="classClient.html#a3c5fe029aa5e2293d7c31e79dda7a937">Client::_len</a></div><div class="ttdeci">int _len</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00012">Client.hpp:12</a></div></div>
<div class="ttc" id="aclassClient_html_a3e6860ba08a116dcc3e75d97d91297c7"><div class="ttname"><a href="classClient.html#a3e6860ba08a116dcc3e75d97d91297c7">Client::parseHeader</a></div><div class="ttdeci">bool parseHeader(Env *env)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00079">Client.cpp:79</a></div></div>
<div class="ttc" id="aclassClient_html_a429e302dd255c112725f432f0ca9a1de"><div class="ttname"><a href="classClient.html#a429e302dd255c112725f432f0ca9a1de">Client::_env</a></div><div class="ttdeci">Env * _env</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00009">Client.hpp:9</a></div></div>
<div class="ttc" id="aclassClient_html_a44bd2f49f7a1d456c8ae9c4b22302540"><div class="ttname"><a href="classClient.html#a44bd2f49f7a1d456c8ae9c4b22302540">Client::send_answer</a></div><div class="ttdeci">void send_answer(string msg)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00236">Client.cpp:236</a></div></div>
<div class="ttc" id="aclassClient_html_a49268fda2ecee38b54f85581329b3920"><div class="ttname"><a href="classClient.html#a49268fda2ecee38b54f85581329b3920">Client::_server</a></div><div class="ttdeci">Server * _server</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00008">Client.hpp:8</a></div></div>
<div class="ttc" id="aclassClient_html_a502dd093f921afb109cddebf88e135b7"><div class="ttname"><a href="classClient.html#a502dd093f921afb109cddebf88e135b7">Client::_request</a></div><div class="ttdeci">std::map&lt; string, vec_string &gt; _request</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00014">Client.hpp:14</a></div></div>
<div class="ttc" id="aclassClient_html_a5f6dcf73d3321725f64145bc065e1d1f"><div class="ttname"><a href="classClient.html#a5f6dcf73d3321725f64145bc065e1d1f">Client::init</a></div><div class="ttdeci">void init(void)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00028">Client.cpp:28</a></div></div>
<div class="ttc" id="aclassClient_html_a6033d622cb33f0ea41313e859b621606"><div class="ttname"><a href="classClient.html#a6033d622cb33f0ea41313e859b621606">Client::_method</a></div><div class="ttdeci">string _method</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00011">Client.hpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_a612d8a71243e1fa5b29ec952a6804b66"><div class="ttname"><a href="classClient.html#a612d8a71243e1fa5b29ec952a6804b66">Client::_route</a></div><div class="ttdeci">Route * _route</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00010">Client.hpp:10</a></div></div>
<div class="ttc" id="aclassClient_html_a62889754be24e772908ce370f2ba0199"><div class="ttname"><a href="classClient.html#a62889754be24e772908ce370f2ba0199">Client::_parent</a></div><div class="ttdeci">Master * _parent</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00007">Client.hpp:7</a></div></div>
<div class="ttc" id="aclassClient_html_a66e3074e5f09c5e9bb4ec36bdea01c91"><div class="ttname"><a href="classClient.html#a66e3074e5f09c5e9bb4ec36bdea01c91">Client::~Client</a></div><div class="ttdeci">~Client(void)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00023">Client.cpp:23</a></div></div>
<div class="ttc" id="aclassClient_html_a674ad248447cc8ff80b4326d4fadfa6b"><div class="ttname"><a href="classClient.html#a674ad248447cc8ff80b4326d4fadfa6b">Client::check_method</a></div><div class="ttdeci">bool check_method(void)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00123">Client.cpp:123</a></div></div>
<div class="ttc" id="aclassClient_html_a76a7d1bb0a940f1b180ac251b47e6cf4"><div class="ttname"><a href="classClient.html#a76a7d1bb0a940f1b180ac251b47e6cf4">Client::_fd</a></div><div class="ttdeci">int _fd</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00005">Client.hpp:5</a></div></div>
<div class="ttc" id="aclassClient_html_a7ac7f7134aa234289d43e9e1404226fd"><div class="ttname"><a href="classClient.html#a7ac7f7134aa234289d43e9e1404226fd">Client::_query</a></div><div class="ttdeci">string _query</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00011">Client.hpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_a7af52bcb17cc9d34c2207d0e540f6ac1"><div class="ttname"><a href="classClient.html#a7af52bcb17cc9d34c2207d0e540f6ac1">Client::_uri</a></div><div class="ttdeci">string _uri</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00011">Client.hpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_a7f318232807a0d483841ce22e1910bc7"><div class="ttname"><a href="classClient.html#a7f318232807a0d483841ce22e1910bc7">Client::_ip_port</a></div><div class="ttdeci">ip_port_t _ip_port</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00006">Client.hpp:6</a></div></div>
<div class="ttc" id="aclassClient_html_a8d671d9129091ed238c9833f4d3b5dda"><div class="ttname"><a href="classClient.html#a8d671d9129091ed238c9833f4d3b5dda">Client::getBody</a></div><div class="ttdeci">bool getBody(string paquet)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00058">Client.cpp:58</a></div></div>
<div class="ttc" id="aclassClient_html_a9f221331479aa9502ee2c372164095fc"><div class="ttname"><a href="classClient.html#a9f221331479aa9502ee2c372164095fc">Client::cgi</a></div><div class="ttdeci">void cgi(string cgi_path, string path)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00178">Client.cpp:178</a></div></div>
<div class="ttc" id="aclassClient_html_aa3fd6ca9ee860544e53a84cae96c19cb"><div class="ttname"><a href="classClient.html#aa3fd6ca9ee860544e53a84cae96c19cb">Client::handleRequest</a></div><div class="ttdeci">void handleRequest(void)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00133">Client.cpp:133</a></div></div>
<div class="ttc" id="aclassClient_html_aab596e9a3653c01abb942bc6ee3001fa"><div class="ttname"><a href="classClient.html#aab596e9a3653c01abb942bc6ee3001fa">Client::header_pick</a></div><div class="ttdeci">string header_pick(string key, size_t id)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00121">Client.cpp:121</a></div></div>
<div class="ttc" id="aclassClient_html_abbbc980dcbfaf7db2cf1d50cac87cef6"><div class="ttname"><a href="classClient.html#abbbc980dcbfaf7db2cf1d50cac87cef6">Client::_header</a></div><div class="ttdeci">string _header</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00011">Client.hpp:11</a></div></div>
<div class="ttc" id="aclassClient_html_ac5ee168964331e90a3afcf8531f3cca7"><div class="ttname"><a href="classClient.html#ac5ee168964331e90a3afcf8531f3cca7">Client::send_error</a></div><div class="ttdeci">void send_error(int error_code)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00219">Client.cpp:219</a></div></div>
<div class="ttc" id="aclassClient_html_acbcc94de0dd77b5635b574c9f23acdb8"><div class="ttname"><a href="classClient.html#acbcc94de0dd77b5635b574c9f23acdb8">Client::getRequest</a></div><div class="ttdeci">bool getRequest(Env *env, string paquet)</div><div class="ttdef"><b>Definition:</b> <a href="Client_8cpp_source.html#l00037">Client.cpp:37</a></div></div>
<div class="ttc" id="aclassClient_html_ad76783880af38b42a854937101819ad2"><div class="ttname"><a href="classClient.html#ad76783880af38b42a854937101819ad2">Client::_last_chunk</a></div><div class="ttdeci">bool _last_chunk</div><div class="ttdef"><b>Definition:</b> <a href="Client_8hpp_source.html#l00013">Client.hpp:13</a></div></div>
<div class="ttc" id="aclassEnv_html"><div class="ttname"><a href="classEnv.html">Env</a></div><div class="ttdef"><b>Definition:</b> <a href="Env_8hpp_source.html#l00004">Env.hpp:4</a></div></div>
<div class="ttc" id="aclassMaster_html"><div class="ttname"><a href="classMaster.html">Master</a></div><div class="ttdef"><b>Definition:</b> <a href="Master_8hpp_source.html#l00004">Master.hpp:4</a></div></div>
<div class="ttc" id="aclassRoute_html"><div class="ttname"><a href="classRoute.html">Route</a></div><div class="ttdef"><b>Definition:</b> <a href="Route_8hpp_source.html#l00004">Route.hpp:4</a></div></div>
<div class="ttc" id="aclassServer_html"><div class="ttname"><a href="classServer.html">Server</a></div><div class="ttdef"><b>Definition:</b> <a href="Server_8hpp_source.html#l00004">Server.hpp:4</a></div></div>
<div class="ttc" id="astructip__port__s_html"><div class="ttname"><a href="structip__port__s.html">ip_port_s</a></div><div class="ttdef"><b>Definition:</b> <a href="webserv_8hpp_source.html#l00035">webserv.hpp:35</a></div></div>
<div class="ttc" id="awebserv_8hpp_html"><div class="ttname"><a href="webserv_8hpp.html">webserv.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
</small></address>
</body>
</html>