<areashape="rect" id="node2" href="classhttpsserver_1_1ResourceNode.html" title="This HTTPNode represents a route that maps to a regular HTTP request for a resource (static or dynami..." alt="" coords="5,80,188,107"/>
<divclass="textblock"><p>Base class for a URL/route-handler in the server. </p>
<p>Use <aclass="el" href="classhttpsserver_1_1ResourceNode.html" title="This HTTPNode represents a route that maps to a regular HTTP request for a resource (static or dynami...">ResourceNode</a> for requests that access dynamic or static resources or HttpNode for routes that create Websockets. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Adds a validation function that checks if the actual value of a parameter matches the expectation </p><dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">paramIdx</td><td>defines the ID of the parameter that should be checked (starts by 0) </td></tr>
<tr><tdclass="paramname">validator</td><td>the function (string -> bool) that checks if the parameter matches the expecatation</td></tr>
</table>
</dd>
</dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el" href="ValidatorFunctions_8hpp_source.html">ValidatorFunctions.hpp</a> if you need some predefined templates for functions </dd></dl>
</div>
</div>
<h2class="groupheader">Member Data Documentation</h2>