Skip to content

Commit e2e797c

Browse files
sunfishcodelukewagner
authored andcommitted
Renegerate markdown files with wit-bindgen 0.43.1.
1 parent 40a9c1a commit e2e797c

File tree

2 files changed

+4
-42
lines changed

2 files changed

+4
-42
lines changed

imports.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,8 @@ provide the HTTP Response corresponding to the sent Request.</h2>
812812
<p>Attempts to extract a http-related <a href="#error"><code>error</code></a> from the wasi:io <a href="#error"><code>error</code></a>
813813
provided.</p>
814814
<p>Stream operations which return
815-
<code>wasi:io/stream/stream-error::last-operation-failed</code> have a payload of
816-
type <code>wasi:io/error/error</code> with more information about the operation
815+
<code>wasi:io/stream.stream-error.last-operation-failed</code> have a payload of
816+
type <code>wasi:io/error.error</code> with more information about the operation
817817
that failed. This payload can be passed through to this function to see
818818
if there's http-related information about the error to return.</p>
819819
<p>Note that this function is fallible because not all io-errors are
@@ -1236,25 +1236,6 @@ 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>
12581239
<h4><a id="static_response_outparam_set"></a><code>[static]response-outparam.set: func</code></h4>
12591240
<p>Set the value of the <a href="#response_outparam"><code>response-outparam</code></a> to either send a response,
12601241
or indicate an error.</p>

proxy.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,8 @@ provide the HTTP Response corresponding to the sent Request.</h2>
819819
<p>Attempts to extract a http-related <a href="#error"><code>error</code></a> from the wasi:io <a href="#error"><code>error</code></a>
820820
provided.</p>
821821
<p>Stream operations which return
822-
<code>wasi:io/stream/stream-error::last-operation-failed</code> have a payload of
823-
type <code>wasi:io/error/error</code> with more information about the operation
822+
<code>wasi:io/stream.stream-error.last-operation-failed</code> have a payload of
823+
type <code>wasi:io/error.error</code> with more information about the operation
824824
that failed. This payload can be passed through to this function to see
825825
if there's http-related information about the error to return.</p>
826826
<p>Note that this function is fallible because not all io-errors are
@@ -1243,25 +1243,6 @@ 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>
12651246
<h4><a id="static_response_outparam_set"></a><code>[static]response-outparam.set: func</code></h4>
12661247
<p>Set the value of the <a href="#response_outparam"><code>response-outparam</code></a> to either send a response,
12671248
or indicate an error.</p>

0 commit comments

Comments
 (0)