website/docs/ddoc/primitives/handy_http_primitives.html

51 lines
7.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>handy_http_primitives (handy_http_primitives)</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_primitives</h1><div class="breadcrumbs"></div><div><div class="documentation-comment synopsis"><div><p>The handy_http_primitives module defines a set of primitive types and
interfaces that are shared among all Handy-Http libraries, and form the
basis of how requests are handled.</p></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_primitives.address.html">address</a><div class="simplified-prototype" style="max-width: 39ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.address</span></div></dt><dd><div><p>Defines various address types for use with HTTP communication.</p></div></dd><dt><a href="handy_http_primitives.builder.html">builder</a><div class="simplified-prototype" style="max-width: 39ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.builder</span></div></dt><dd><div><p>Defines builder types to more easily construct various HTTP objects, often
useful for testing scenarios.</p></div></dd><dt><a href="handy_http_primitives.handler.html">handler</a><div class="simplified-prototype" style="max-width: 39ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.handler</span></div></dt><dd><div><p>Defines the core request handler interface that's the starting point for
all HTTP request processing.</p></div></dd><dt><a href="handy_http_primitives.multivalue_map.html">multivalue_map</a><div class="simplified-prototype" style="max-width: 47ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.multivalue_map</span></div></dt><dd><div><p>An implementation of a multi-valued mapping, where one key may map to one
or more values.</p></div></dd><dt><a href="handy_http_primitives.optional.html">optional</a><div class="simplified-prototype" style="max-width: 40ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.optional</span></div></dt><dd><div><p>Module that defines an <tt class="inline-code">Optional</tt> type, which is a simplified version of
Phobos' Nullable, that also supports mapping the underlying data.</p></div></dd><dt><a href="handy_http_primitives.request.html">request</a><div class="simplified-prototype" style="max-width: 39ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.request</span></div></dt><dd><div><p>Defines the request structure and associated types that are generally used
when dealing with a client's HTTP request.</p></div></dd><dt><a href="handy_http_primitives.response.html">response</a><div class="simplified-prototype" style="max-width: 40ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.response</span></div></dt><dd><div><p>Defines the HTTP response structure and associated types that are generally
used when formulating a response to a client's request.</p></div></dd><dt><a href="handy_http_primitives.testing.html">testing</a><div class="simplified-prototype" style="max-width: 39ch;"><span class="builtin-type">module</span> <span class="name">handy_http_primitives.testing</span></div></dt><dd><div><p>The testing module defines helper methods for testing your HTTP handling
code.</p></div></dd></dl><h2 id="public-imports"><a class="header-anchor" href="#public-imports">Public Imports</a></h2><div></div><dl class="member-list native"><dt><a href="handy_http_primitives.request.html">handy_http_primitives.request</a><div class="simplified-prototype" style="max-width: 49ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">request</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><dl class="member-list native"><dt><a href="handy_http_primitives.response.html">handy_http_primitives.response</a><div class="simplified-prototype" style="max-width: 50ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">response</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><dl class="member-list native"><dt><a href="handy_http_primitives.handler.html">handy_http_primitives.handler</a><div class="simplified-prototype" style="max-width: 49ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">handler</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><dl class="member-list native"><dt><a href="handy_http_primitives.optional.html">handy_http_primitives.optional</a><div class="simplified-prototype" style="max-width: 50ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">optional</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><dl class="member-list native"><dt><a href="handy_http_primitives.multivalue_map.html">handy_http_primitives.multivalue_map</a><div class="simplified-prototype" style="max-width: 57ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">multivalue_map</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><dl class="member-list native"><dt><a href="handy_http_primitives.builder.html">handy_http_primitives.builder</a><div class="simplified-prototype" style="max-width: 49ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">builder</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><dl class="member-list native"><dt><a href="handy_http_primitives.testing.html">handy_http_primitives.testing</a><div class="simplified-prototype" style="max-width: 49ch;"><span class="builtin-type">public</span> <tt class="highlighted">
<span class="kwrd">import</span> <span class="hid">handy_http_primitives</span>.<span class="hid">testing</span>;</tt></div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></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_primitives.html">handy_http_primitives</a></li></ul></div>
</div>
<div id="page-footer">Page generated by <a href="https://github.com/adamdruppe/adrdox">adrdox</a></div>
</body>
</html>