website/docs/ddoc/handlers/handy_http_handlers.html

40 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>handy_http_handlers (handy_http_handlers)</title>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<link href="style.css" rel="stylesheet" />
<script src="script.js" type="text/javascript"></script>
<link href="search-results.html" rel="prefetch" />
</head>
<body>
<div id="page-header">
<div id="logotype">
<span>Documentation</span>
<nav>
<a href="http://dlang.org/">Dlang.org</a>
</nav>
</div>
<form action="search-docs.html" id="search">
<input name="searchTerm" placeholder="Find a symbol name..." type="search" />
<input type="submit" value="Go" />
</form>
</div>
<div id="page-body">
<div id="page-content">
<h1>handy_http_handlers</h1><div class="breadcrumbs"></div><div><div class="documentation-comment synopsis"><div><span class="undocumented-note">Undocumented in source.</span></div></div></div><div class="annotated-prototype"></div><h2 id="modules"><a class="header-anchor" href="#modules">Modules</a></h2><dl class="member-list native"><dt><a href="handy_http_handlers.filtered_handler.html">filtered_handler</a><div class="simplified-prototype" style="max-width: 47ch;"><span class="builtin-type">module</span> <span class="name">handy_http_handlers.filtered_handler</span></div></dt><dd><div><p>Defines a &quot;filtered&quot; request handler, that applies an ordered set of filters
(otherwise known as a &quot;filter chain&quot;) before and after handling a request,
as a means of adding a simple middleware layer to HTTP request processing.</p></div></dd><dt><a href="handy_http_handlers.path_handler.html">path_handler</a><div class="simplified-prototype" style="max-width: 42ch;"><span class="builtin-type">module</span> <span class="name">handy_http_handlers.path_handler</span></div></dt><dd><div><p>Defines a path-matching request handler, that will match incoming requests
against a set of mappings based on the URL and HTTP method, and call a
handler depending on what's matched.</p></div></dd><dt><a href="handy_http_handlers.path_handler_sample_module.html">path_handler_sample_module</a><div class="simplified-prototype" style="max-width: 58ch;"><span class="builtin-type">module</span> <span class="name">handy_http_handlers.path_handler_sample_module</span></div></dt><dd><div><p>This module defines some path mapping functions to help test the path
handler's function for registering annotated functions.</p></div></dd></dl><div></div></div>
<div id="page-nav">
<span class="type-separator">modules</span><ul><li><a class="module current" href="handy_http_handlers.html">handy_http_handlers</a></li></ul></div>
</div>
<div id="page-footer">Page generated by <a href="https://github.com/adamdruppe/adrdox">adrdox</a></div>
</body>
</html>