Skip to content

Commit 24a85a5

Browse files
sunfishcodelukewagner
authored andcommitted
Generate docs with --all-features.
1 parent db74156 commit 24a85a5

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

imports.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,25 @@ supported.</p>
12361236
<ul>
12371237
<li><a id="method_request_options_set_between_bytes_timeout.0"></a> result</li>
12381238
</ul>
1239+
<h4><a id="method_response_outparam_send_informational"></a><code>[method]response-outparam.send-informational: func</code></h4>
1240+
<p>Send an HTTP 1xx response.</p>
1241+
<p>Unlike <code>response-outparam.set</code>, this does not consume the
1242+
<a href="#response_outparam"><code>response-outparam</code></a>, allowing the guest to send an arbitrary number of
1243+
informational responses before sending the final response using
1244+
<code>response-outparam.set</code>.</p>
1245+
<p>This will return an <code>HTTP-protocol-error</code> if <code>status</code> is not in the
1246+
range [100-199], or an <code>internal-error</code> if the implementation does not
1247+
support informational responses.</p>
1248+
<h5>Params</h5>
1249+
<ul>
1250+
<li><a id="method_response_outparam_send_informational.self"></a><code>self</code>: borrow&lt;<a href="#response_outparam"><a href="#response_outparam"><code>response-outparam</code></a></a>&gt;</li>
1251+
<li><a id="method_response_outparam_send_informational.status"></a><code>status</code>: <code>u16</code></li>
1252+
<li><a id="method_response_outparam_send_informational.headers"></a><a href="#headers"><code>headers</code></a>: own&lt;<a href="#headers"><a href="#headers"><code>headers</code></a></a>&gt;</li>
1253+
</ul>
1254+
<h5>Return values</h5>
1255+
<ul>
1256+
<li><a id="method_response_outparam_send_informational.0"></a> result&lt;_, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;</li>
1257+
</ul>
12391258
<h4><a id="static_response_outparam_set"></a><code>[static]response-outparam.set: func</code></h4>
12401259
<p>Set the value of the <a href="#response_outparam"><code>response-outparam</code></a> to either send a response,
12411260
or indicate an error.</p>

proxy.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,25 @@ supported.</p>
12431243
<ul>
12441244
<li><a id="method_request_options_set_between_bytes_timeout.0"></a> result</li>
12451245
</ul>
1246+
<h4><a id="method_response_outparam_send_informational"></a><code>[method]response-outparam.send-informational: func</code></h4>
1247+
<p>Send an HTTP 1xx response.</p>
1248+
<p>Unlike <code>response-outparam.set</code>, this does not consume the
1249+
<a href="#response_outparam"><code>response-outparam</code></a>, allowing the guest to send an arbitrary number of
1250+
informational responses before sending the final response using
1251+
<code>response-outparam.set</code>.</p>
1252+
<p>This will return an <code>HTTP-protocol-error</code> if <code>status</code> is not in the
1253+
range [100-199], or an <code>internal-error</code> if the implementation does not
1254+
support informational responses.</p>
1255+
<h5>Params</h5>
1256+
<ul>
1257+
<li><a id="method_response_outparam_send_informational.self"></a><code>self</code>: borrow&lt;<a href="#response_outparam"><a href="#response_outparam"><code>response-outparam</code></a></a>&gt;</li>
1258+
<li><a id="method_response_outparam_send_informational.status"></a><code>status</code>: <code>u16</code></li>
1259+
<li><a id="method_response_outparam_send_informational.headers"></a><a href="#headers"><code>headers</code></a>: own&lt;<a href="#headers"><a href="#headers"><code>headers</code></a></a>&gt;</li>
1260+
</ul>
1261+
<h5>Return values</h5>
1262+
<ul>
1263+
<li><a id="method_response_outparam_send_informational.0"></a> result&lt;_, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;</li>
1264+
</ul>
12461265
<h4><a id="static_response_outparam_set"></a><code>[static]response-outparam.set: func</code></h4>
12471266
<p>Set the value of the <a href="#response_outparam"><code>response-outparam</code></a> to either send a response,
12481267
or indicate an error.</p>

0 commit comments

Comments
 (0)