From f893408e92271a439ef9bc7850f14da97842afaa Mon Sep 17 00:00:00 2001
From: Dan Gohman Attempts to extract a http-related Stream operations which return
- Note that this function is fallible because not all io-errors are
@@ -1236,25 +1236,6 @@ supported. Send an HTTP 1xx response. Unlike This will return an Set the value of the Attempts to extract a http-related Stream operations which return
- Note that this function is fallible because not all io-errors are
@@ -1243,25 +1243,6 @@ supported. Send an HTTP 1xx response. Unlike This will return an Set the value of the error from the wasi:io error
provided.wasi:io/stream/stream-error::last-operation-failed have a payload of
-type wasi:io/error/error with more information about the operation
+wasi:io/stream.stream-error.last-operation-failed have a payload of
+type wasi:io/error.error with more information about the operation
that failed. This payload can be passed through to this function to see
if there's http-related information about the error to return.
-[method]response-outparam.send-informational: funcresponse-outparam.set, this does not consume the
-response-outparam, allowing the guest to send an arbitrary number of
-informational responses before sending the final response using
-response-outparam.set.HTTP-protocol-error if status is not in the
-range [100-199], or an internal-error if the implementation does not
-support informational responses.Params
-
-
-self: borrow<response-outparam>status: u16headers: own<headers>Return values
-
-
error-code>[static]response-outparam.set: funcresponse-outparam to either send a response,
or indicate an error.error from the wasi:io error
provided.wasi:io/stream/stream-error::last-operation-failed have a payload of
-type wasi:io/error/error with more information about the operation
+wasi:io/stream.stream-error.last-operation-failed have a payload of
+type wasi:io/error.error with more information about the operation
that failed. This payload can be passed through to this function to see
if there's http-related information about the error to return.
-[method]response-outparam.send-informational: funcresponse-outparam.set, this does not consume the
-response-outparam, allowing the guest to send an arbitrary number of
-informational responses before sending the final response using
-response-outparam.set.HTTP-protocol-error if status is not in the
-range [100-199], or an internal-error if the implementation does not
-support informational responses.Params
-
-
-self: borrow<response-outparam>status: u16headers: own<headers>Return values
-
-
error-code>[static]response-outparam.set: funcresponse-outparam to either send a response,
or indicate an error.
[method]response-outparam.send-informational: funcSend an HTTP 1xx response.
+Unlike response-outparam.set, this does not consume the
+response-outparam, allowing the guest to send an arbitrary number of
+informational responses before sending the final response using
+response-outparam.set.
This will return an HTTP-protocol-error if status is not in the
+range [100-199], or an internal-error if the implementation does not
+support informational responses.
self: borrow<response-outparam>status: u16headers: own<headers>error-code>[static]response-outparam.set: funcSet the value of the response-outparam to either send a response,
or indicate an error.
[method]response-outparam.send-informational: funcSend an HTTP 1xx response.
+Unlike response-outparam.set, this does not consume the
+response-outparam, allowing the guest to send an arbitrary number of
+informational responses before sending the final response using
+response-outparam.set.
This will return an HTTP-protocol-error if status is not in the
+range [100-199], or an internal-error if the implementation does not
+support informational responses.
self: borrow<response-outparam>status: u16headers: own<headers>error-code>[static]response-outparam.set: funcSet the value of the response-outparam to either send a response,
or indicate an error.