This commit is contained in:
RubenVerborgh
2021-01-13 09:45:11 +00:00
parent fb9f2ac7c0
commit 7b5f76302d
495 changed files with 9371 additions and 4804 deletions

View File

@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>BasicResponseWriter | Community Solid Server - v0.4.0</title>
<meta name="description" content="Documentation for Community Solid Server - v0.4.0">
<title>BasicResponseWriter | Community Solid Server - v0.4.1</title>
<meta name="description" content="Documentation for Community Solid Server - v0.4.1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
@@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">Community Solid Server - v0.4.0</a>
<a href="../index.html" class="title">Community Solid Server - v0.4.1</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
@@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">Community Solid Server - v0.4.0</a>
<a href="../modules.html">Community Solid Server - v0.4.1</a>
</li>
<li>
<a href="../modules/ldp_http_basicresponsewriter.html">ldp/http/BasicResponseWriter</a>
@@ -129,7 +129,7 @@
<aside class="tsd-sources">
<p>Inherited from <a href="ldp_http_responsewriter.responsewriter.html">ResponseWriter</a>.<a href="ldp_http_responsewriter.responsewriter.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/ldp/http/BasicResponseWriter.ts#L15">src/ldp/http/BasicResponseWriter.ts:15</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/ldp/http/BasicResponseWriter.ts#L15">src/ldp/http/BasicResponseWriter.ts:15</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -151,7 +151,7 @@
<div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <a href="logging_logger.logger.html" class="tsd-signature-type" data-tsd-kind="Class">Logger</a><span class="tsd-signature-symbol"> = ...</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/ldp/http/BasicResponseWriter.ts#L14">src/ldp/http/BasicResponseWriter.ts:14</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/ldp/http/BasicResponseWriter.ts#L14">src/ldp/http/BasicResponseWriter.ts:14</a></li>
</ul>
</aside>
</section>
@@ -161,7 +161,7 @@
<div class="tsd-signature tsd-kind-icon">metadata<wbr>Writer<span class="tsd-signature-symbol">:</span> <a href="ldp_http_metadata_metadatawriter.metadatawriter.html" class="tsd-signature-type" data-tsd-kind="Class">MetadataWriter</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/ldp/http/BasicResponseWriter.ts#L15">src/ldp/http/BasicResponseWriter.ts:15</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/ldp/http/BasicResponseWriter.ts#L15">src/ldp/http/BasicResponseWriter.ts:15</a></li>
</ul>
</aside>
</section>
@@ -179,7 +179,7 @@
<aside class="tsd-sources">
<p>Overrides <a href="ldp_http_responsewriter.responsewriter.html">ResponseWriter</a>.<a href="ldp_http_responsewriter.responsewriter.html#canhandle">canHandle</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/ldp/http/BasicResponseWriter.ts#L22">src/ldp/http/BasicResponseWriter.ts:22</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/ldp/http/BasicResponseWriter.ts#L22">src/ldp/http/BasicResponseWriter.ts:22</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -211,7 +211,7 @@
<aside class="tsd-sources">
<p>Overrides <a href="ldp_http_responsewriter.responsewriter.html">ResponseWriter</a>.<a href="ldp_http_responsewriter.responsewriter.html#handle">handle</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/ldp/http/BasicResponseWriter.ts#L28">src/ldp/http/BasicResponseWriter.ts:28</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/ldp/http/BasicResponseWriter.ts#L28">src/ldp/http/BasicResponseWriter.ts:28</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -236,14 +236,14 @@
<a name="handlesafe" class="tsd-anchor"></a>
<h3>handle<wbr>Safe</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
<li class="tsd-signature tsd-kind-icon">handle<wbr>Safe<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>response<span class="tsd-signature-symbol">: </span><a href="../modules/server_httpresponse.html#httpresponse" class="tsd-signature-type" data-tsd-kind="Type alias">HttpResponse</a><span class="tsd-signature-symbol">; </span>result<span class="tsd-signature-symbol">: </span><a href="ldp_http_response_responsedescription.responsedescription.html" class="tsd-signature-type" data-tsd-kind="Class">ResponseDescription</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">handle<wbr>Safe<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>response<span class="tsd-signature-symbol">: </span><a href="../modules/server_httpresponse.html#httpresponse" class="tsd-signature-type" data-tsd-kind="Type alias">HttpResponse</a><span class="tsd-signature-symbol">; </span>result<span class="tsd-signature-symbol">: </span><a href="ldp_http_response_responsedescription.responsedescription.html" class="tsd-signature-type" data-tsd-kind="Class">ResponseDescription</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Inherited from <a href="ldp_http_responsewriter.responsewriter.html">ResponseWriter</a>.<a href="ldp_http_responsewriter.responsewriter.html#handlesafe">handleSafe</a></p>
<ul>
<li>Defined in <a href="https://github.com/solid/community-server/blob/867af28/src/util/AsyncHandler.ts#L33">src/util/AsyncHandler.ts:33</a></li>
<li>Defined in <a href="https://github.com/solid/community-server/blob/409782c/src/util/AsyncHandler.ts#L35">src/util/AsyncHandler.ts:35</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -256,9 +256,9 @@
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <span class="tsd-signature-symbol">{ </span>response<span class="tsd-signature-symbol">: </span><a href="../modules/server_httpresponse.html#httpresponse" class="tsd-signature-type" data-tsd-kind="Type alias">HttpResponse</a><span class="tsd-signature-symbol">; </span>result<span class="tsd-signature-symbol">: </span><a href="ldp_http_response_responsedescription.responsedescription.html" class="tsd-signature-type" data-tsd-kind="Class">ResponseDescription</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> }</span></h5>
<h5>input: <span class="tsd-signature-symbol">{ </span>response<span class="tsd-signature-symbol">: </span><a href="../modules/server_httpresponse.html#httpresponse" class="tsd-signature-type" data-tsd-kind="Type alias">HttpResponse</a><span class="tsd-signature-symbol">; </span>result<span class="tsd-signature-symbol">: </span><a href="ldp_http_response_responsedescription.responsedescription.html" class="tsd-signature-type" data-tsd-kind="Class">ResponseDescription</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> }</span></h5>
<div class="tsd-comment tsd-typography">
<p>The data to handle.</p>
<p>Input data that will be handled if it can be handled.</p>
</div>
<ul class="tsd-parameters">
<li class="tsd-parameter">
@@ -271,7 +271,8 @@
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
<p>The result of the handle function of the handler.</p>
<p>A promise resolving if the input can be handled, rejecting with an Error if not.
Return value depends on the given type.</p>
</li>
</ul>
</section>