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.
 
 
 
 

619 lines
32 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: Route 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="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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle"><div class="title">Route Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="Route_8hpp_source.html">Route.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Route:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute__inherit__graph.png" border="0" usemap="#aRoute_inherit__map" alt="Inheritance graph"/></div>
<map name="aRoute_inherit__map" id="aRoute_inherit__map">
<area shape="rect" title=" " alt="" coords="7,5,67,31"/>
<area shape="rect" href="classServer.html" title=" " alt="" coords="5,79,69,104"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Route:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute__coll__graph.png" border="0" usemap="#aRoute_coll__map" alt="Collaboration graph"/></div>
<map name="aRoute_coll__map" id="aRoute_coll__map">
<area shape="rect" title=" " alt="" coords="5,123,65,148"/>
<area shape="rect" href="classServer.html" title=" " alt="" coords="14,211,78,236"/>
<area shape="rect" title=" " alt="" coords="47,5,106,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3e7545442240c05dc562e2c9254c27ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a3e7545442240c05dc562e2c9254c27ba">Route</a> (<a class="el" href="classServer.html">Server</a> *server, string location, <a class="el" href="classJSONNode.html">JSONNode</a> *datas)</td></tr>
<tr class="memdesc:a3e7545442240c05dc562e2c9254c27ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a3e7545442240c05dc562e2c9254c27ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c8cb0aaef581d3c14fff8ad99b3894f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a6c8cb0aaef581d3c14fff8ad99b3894f">~Route</a> (void)</td></tr>
<tr class="memdesc:a6c8cb0aaef581d3c14fff8ad99b3894f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a6c8cb0aaef581d3c14fff8ad99b3894f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a888d6e2bc84b59421e9909e075a6e8bb"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a888d6e2bc84b59421e9909e075a6e8bb">getLocation</a> (void)</td></tr>
<tr class="separator:a888d6e2bc84b59421e9909e075a6e8bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd1fe00a85e85ac4964f618f8f2d7bdf"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#afd1fe00a85e85ac4964f618f8f2d7bdf">getRoot</a> (void)</td></tr>
<tr class="separator:afd1fe00a85e85ac4964f618f8f2d7bdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9b27a012c16f0105b7c5caf25e033ef"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#af9b27a012c16f0105b7c5caf25e033ef">getReturn</a> (void)</td></tr>
<tr class="separator:af9b27a012c16f0105b7c5caf25e033ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af25f589b6b764829c3c98fcd952bf8ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classServer.html">Server</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#af25f589b6b764829c3c98fcd952bf8ae">getServer</a> (void)</td></tr>
<tr class="separator:af25f589b6b764829c3c98fcd952bf8ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa71b39273ba7bc2f683f40a6573ff810"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#aa71b39273ba7bc2f683f40a6573ff810">getIndex</a> (string uri, string path)</td></tr>
<tr class="memdesc:aa71b39273ba7bc2f683f40a6573ff810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Search for an index while generating autoindex. <br /></td></tr>
<tr class="separator:aa71b39273ba7bc2f683f40a6573ff810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5826254afb1e57c980c4b671bea8370a"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a5826254afb1e57c980c4b671bea8370a">correctUri</a> (string uri)</td></tr>
<tr class="memdesc:a5826254afb1e57c980c4b671bea8370a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the local path corresponding to the uri asked by te client. <br /></td></tr>
<tr class="separator:a5826254afb1e57c980c4b671bea8370a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a59d3fd535c995846b0d81b69d9b268f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a59d3fd535c995846b0d81b69d9b268f1">_indexs</a></td></tr>
<tr class="separator:a59d3fd535c995846b0d81b69d9b268f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3096f41064cf24c0c884d4c26f2fa07f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a3096f41064cf24c0c884d4c26f2fa07f">_allowed_methods</a></td></tr>
<tr class="separator:a3096f41064cf24c0c884d4c26f2fa07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1688ba652b72bb3a1a0055e7e9cd3e41"><td class="memItemLeft" align="right" valign="top">std::map&lt; string, string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a1688ba652b72bb3a1a0055e7e9cd3e41">_cgi</a></td></tr>
<tr class="separator:a1688ba652b72bb3a1a0055e7e9cd3e41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a554deee37019d76b96a3411301b1d380"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a554deee37019d76b96a3411301b1d380">_client_max_body_size</a></td></tr>
<tr class="separator:a554deee37019d76b96a3411301b1d380"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a0265e667aad49b2e6e3ca040ba7c8e06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classServer.html">Server</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a0265e667aad49b2e6e3ca040ba7c8e06">_server</a></td></tr>
<tr class="separator:a0265e667aad49b2e6e3ca040ba7c8e06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6bd355bcfd1c4110d300649291b58a"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a7e6bd355bcfd1c4110d300649291b58a">_location</a></td></tr>
<tr class="separator:a7e6bd355bcfd1c4110d300649291b58a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56499c8c2520297a62e2a117475e9e7c"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a56499c8c2520297a62e2a117475e9e7c">_root</a></td></tr>
<tr class="separator:a56499c8c2520297a62e2a117475e9e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f11aed02ce019d0d556230b119d217"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#ac3f11aed02ce019d0d556230b119d217">_ret</a></td></tr>
<tr class="separator:ac3f11aed02ce019d0d556230b119d217"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b02eecb856d31da63cd1cd84600c43a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRoute.html#a9b02eecb856d31da63cd1cd84600c43a">_autoindex</a></td></tr>
<tr class="separator:a9b02eecb856d31da63cd1cd84600c43a"><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 class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00004">4</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3e7545442240c05dc562e2c9254c27ba" name="a3e7545442240c05dc562e2c9254c27ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e7545442240c05dc562e2c9254c27ba">&#9670;&#160;</a></span>Route()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Route::Route </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classServer.html">Server</a> *&#160;</td>
<td class="paramname"><em>server</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJSONNode.html">JSONNode</a> *&#160;</td>
<td class="paramname"><em>datas</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<p>A route is an object which define how to handle a request. Each <a class="el" href="classServer.html">Server</a> is <a class="el" href="classRoute.html">Route</a> inherited and each location block lead to a new <a class="el" href="classRoute.html">Route</a> object.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">server</td><td>The <a class="el" href="classServer.html">Server</a> parent of the route. NULL if the object is the server. </td></tr>
<tr><td class="paramname">location</td><td>The uri associatied to the route. </td></tr>
<tr><td class="paramname">datas</td><td>The <a class="el" href="classJSONNode.html">JSONNode</a> giving configuration. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00020">20</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute_a3e7545442240c05dc562e2c9254c27ba_cgraph.png" border="0" usemap="#aclassRoute_a3e7545442240c05dc562e2c9254c27ba_cgraph" alt=""/></div>
<map name="aclassRoute_a3e7545442240c05dc562e2c9254c27ba_cgraph" id="aclassRoute_a3e7545442240c05dc562e2c9254c27ba_cgraph">
<area shape="rect" title="Constructor." alt="" coords="5,104,112,129"/>
<area shape="rect" href="classJSONNode.html#aed3bd34b9670b2e14dc2a3d08cb19d89" title=" " alt="" coords="160,5,280,31"/>
<area shape="rect" href="classJSONNode.html#ac6290ea016718b625b5a60ce176c75b8" title=" " alt="" coords="164,55,276,80"/>
<area shape="rect" href="classJSONNode.html#a3c65ea4af29daa3869273af827ebe43c" title=" " alt="" coords="161,104,279,129"/>
<area shape="rect" href="classJSONNode.html#a6412ecbb284cfddb5de9818b72c785f9" title=" " alt="" coords="162,153,278,179"/>
<area shape="rect" href="classJSONNode.html#acc698e882b650c5679469ccd376b39db" title=" " alt="" coords="163,203,277,228"/>
</map>
</div>
</div>
</div>
<a id="a6c8cb0aaef581d3c14fff8ad99b3894f" name="a6c8cb0aaef581d3c14fff8ad99b3894f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c8cb0aaef581d3c14fff8ad99b3894f">&#9670;&#160;</a></span>~Route()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Route::~Route </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00051">51</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5826254afb1e57c980c4b671bea8370a" name="a5826254afb1e57c980c4b671bea8370a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5826254afb1e57c980c4b671bea8370a">&#9670;&#160;</a></span>correctUri()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string Route::correctUri </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>uri</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Find the local path corresponding to the uri asked by te client. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">uri</td><td>The uri asked by the client.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The local path. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Not used by nginx until config use rewrite keyword. </dd></dl>
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00115">115</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute_a5826254afb1e57c980c4b671bea8370a_cgraph.png" border="0" usemap="#aclassRoute_a5826254afb1e57c980c4b671bea8370a_cgraph" alt=""/></div>
<map name="aclassRoute_a5826254afb1e57c980c4b671bea8370a_cgraph" id="aclassRoute_a5826254afb1e57c980c4b671bea8370a_cgraph">
<area shape="rect" title="Find the local path corresponding to the uri asked by te client." alt="" coords="5,5,137,31"/>
<area shape="rect" href="tools_8cpp.html#a4a79e98b5dec14d16875307f7e77dfb3" title=" " alt="" coords="185,5,236,31"/>
</map>
</div>
</div>
</div>
<a id="aa71b39273ba7bc2f683f40a6573ff810" name="aa71b39273ba7bc2f683f40a6573ff810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa71b39273ba7bc2f683f40a6573ff810">&#9670;&#160;</a></span>getIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string Route::getIndex </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>path</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Search for an index while generating autoindex. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">uri</td><td>The uri requested by client. </td></tr>
<tr><td class="paramname">path</td><td>The correct path associated with uri.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The index content to give to client or an empty string if there is nothing for him. </dd></dl>
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00066">66</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute_aa71b39273ba7bc2f683f40a6573ff810_cgraph.png" border="0" usemap="#aclassRoute_aa71b39273ba7bc2f683f40a6573ff810_cgraph" alt=""/></div>
<map name="aclassRoute_aa71b39273ba7bc2f683f40a6573ff810_cgraph" id="aclassRoute_aa71b39273ba7bc2f683f40a6573ff810_cgraph">
<area shape="rect" title="Search for an index while generating autoindex." alt="" coords="5,5,131,31"/>
<area shape="rect" href="tools_8cpp.html#a044b9a41ee6f56019e039d36e91dc265" title=" " alt="" coords="179,5,257,31"/>
<area shape="rect" href="tools_8cpp.html#a07de4a3e033212959997f105daa49798" title=" " alt="" coords="305,5,385,31"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute_aa71b39273ba7bc2f683f40a6573ff810_icgraph.png" border="0" usemap="#aclassRoute_aa71b39273ba7bc2f683f40a6573ff810_icgraph" alt=""/></div>
<map name="aclassRoute_aa71b39273ba7bc2f683f40a6573ff810_icgraph" id="aclassRoute_aa71b39273ba7bc2f683f40a6573ff810_icgraph">
<area shape="rect" title="Search for an index while generating autoindex." alt="" coords="219,5,344,31"/>
<area shape="rect" href="classClient.html#aa3fd6ca9ee860544e53a84cae96c19cb" title=" " alt="" coords="5,5,171,31"/>
</map>
</div>
</div>
</div>
<a id="a888d6e2bc84b59421e9909e075a6e8bb" name="a888d6e2bc84b59421e9909e075a6e8bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a888d6e2bc84b59421e9909e075a6e8bb">&#9670;&#160;</a></span>getLocation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string Route::getLocation </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00054">54</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
</div>
</div>
<a id="af9b27a012c16f0105b7c5caf25e033ef" name="af9b27a012c16f0105b7c5caf25e033ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9b27a012c16f0105b7c5caf25e033ef">&#9670;&#160;</a></span>getReturn()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string Route::getReturn </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00056">56</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
</div>
</div>
<a id="afd1fe00a85e85ac4964f618f8f2d7bdf" name="afd1fe00a85e85ac4964f618f8f2d7bdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd1fe00a85e85ac4964f618f8f2d7bdf">&#9670;&#160;</a></span>getRoot()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string Route::getRoot </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8cpp_source.html#l00055">55</a> of file <a class="el" href="Route_8cpp_source.html">Route.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classRoute_afd1fe00a85e85ac4964f618f8f2d7bdf_icgraph.png" border="0" usemap="#aclassRoute_afd1fe00a85e85ac4964f618f8f2d7bdf_icgraph" alt=""/></div>
<map name="aclassRoute_afd1fe00a85e85ac4964f618f8f2d7bdf_icgraph" id="aclassRoute_afd1fe00a85e85ac4964f618f8f2d7bdf_icgraph">
<area shape="rect" title=" " alt="" coords="617,56,736,81"/>
<area shape="rect" href="classClient.html#a9f221331479aa9502ee2c372164095fc" title=" " alt="" coords="446,5,533,31"/>
<area shape="rect" href="classClient.html#aa3fd6ca9ee860544e53a84cae96c19cb" title=" " alt="" coords="196,31,361,56"/>
<area shape="rect" href="classClient.html#a1a58e00763626d48ee8625ad16a95d08" title=" " alt="" coords="409,107,569,132"/>
<area shape="rect" href="classClient.html#a3e6860ba08a116dcc3e75d97d91297c7" title=" " alt="" coords="203,107,354,132"/>
<area shape="rect" href="classClient.html#acbcc94de0dd77b5635b574c9f23acdb8" title=" " alt="" coords="5,107,148,132"/>
</map>
</div>
</div>
</div>
<a id="af25f589b6b764829c3c98fcd952bf8ae" name="af25f589b6b764829c3c98fcd952bf8ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af25f589b6b764829c3c98fcd952bf8ae">&#9670;&#160;</a></span>getServer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classServer.html">Server</a> * Route::getServer </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a id="a3096f41064cf24c0c884d4c26f2fa07f" name="a3096f41064cf24c0c884d4c26f2fa07f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3096f41064cf24c0c884d4c26f2fa07f">&#9670;&#160;</a></span>_allowed_methods</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a> Route::_allowed_methods</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00011">11</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a9b02eecb856d31da63cd1cd84600c43a" name="a9b02eecb856d31da63cd1cd84600c43a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b02eecb856d31da63cd1cd84600c43a">&#9670;&#160;</a></span>_autoindex</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Route::_autoindex</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 class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00008">8</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a1688ba652b72bb3a1a0055e7e9cd3e41" name="a1688ba652b72bb3a1a0055e7e9cd3e41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1688ba652b72bb3a1a0055e7e9cd3e41">&#9670;&#160;</a></span>_cgi</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::map&lt;string, string&gt; Route::_cgi</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00012">12</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a554deee37019d76b96a3411301b1d380" name="a554deee37019d76b96a3411301b1d380"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a554deee37019d76b96a3411301b1d380">&#9670;&#160;</a></span>_client_max_body_size</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Route::_client_max_body_size</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00013">13</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a59d3fd535c995846b0d81b69d9b268f1" name="a59d3fd535c995846b0d81b69d9b268f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59d3fd535c995846b0d81b69d9b268f1">&#9670;&#160;</a></span>_indexs</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="webserv_8hpp.html#aba96a6988a5bc02b5c8b908af07d0bbb">vec_string</a> Route::_indexs</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00011">11</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a7e6bd355bcfd1c4110d300649291b58a" name="a7e6bd355bcfd1c4110d300649291b58a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e6bd355bcfd1c4110d300649291b58a">&#9670;&#160;</a></span>_location</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Route::_location</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 class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00007">7</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="ac3f11aed02ce019d0d556230b119d217" name="ac3f11aed02ce019d0d556230b119d217"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3f11aed02ce019d0d556230b119d217">&#9670;&#160;</a></span>_ret</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Route::_ret</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 class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00007">7</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a56499c8c2520297a62e2a117475e9e7c" name="a56499c8c2520297a62e2a117475e9e7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56499c8c2520297a62e2a117475e9e7c">&#9670;&#160;</a></span>_root</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Route::_root</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 class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00007">7</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<a id="a0265e667aad49b2e6e3ca040ba7c8e06" name="a0265e667aad49b2e6e3ca040ba7c8e06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0265e667aad49b2e6e3ca040ba7c8e06">&#9670;&#160;</a></span>_server</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classServer.html">Server</a>* Route::_server</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 class="definition">Definition at line <a class="el" href="Route_8hpp_source.html#l00006">6</a> of file <a class="el" href="Route_8hpp_source.html">Route.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>includes/<a class="el" href="Route_8hpp_source.html">Route.hpp</a></li>
<li>srcs/load/<a class="el" href="Route_8cpp_source.html">Route.cpp</a></li>
</ul>
</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>