diff --git a/imports.md b/imports.md index 9fbc19d..7e874f2 100644 --- a/imports.md +++ b/imports.md @@ -83,8 +83,8 @@ successive reads of the clock will produce non-decreasing values.
type pollable-
type instantu64
An instant in time, in nanoseconds. An instant is relative to an unspecified initial value, and can only be compared to instances from the same monotonic-clock. @@ -251,10 +251,10 @@ when it does, they are expected to subsume this API.
type error-
type pollable-
variant stream-errorAn error for input-stream and output-stream operations.
splice.
type output-stream-
get-stdout: funcsplice.
type output-stream-
get-stderr: funcsplice.
type input-stream-
get-stdin: functype duration-
type input-stream-
type output-stream-
type io-error-
type pollable-
variant methodThis type corresponds to HTTP standard Methods.
[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.
type outgoing-request-
type request-options-
type future-incoming-response-
type error-code-
handle: funcThis function is invoked with an outgoing HTTP Request, and it returns diff --git a/proxy.md b/proxy.md index 019f84a..6e3c667 100644 --- a/proxy.md +++ b/proxy.md @@ -90,8 +90,8 @@ successive reads of the clock will produce non-decreasing values.
type pollable-
type instantu64
An instant in time, in nanoseconds. An instant is relative to an unspecified initial value, and can only be compared to instances from the same monotonic-clock. @@ -258,10 +258,10 @@ when it does, they are expected to subsume this API.
type error-
type pollable-
variant stream-errorAn error for input-stream and output-stream operations.
splice.
type output-stream-
get-stdout: funcsplice.
type output-stream-
get-stderr: funcsplice.
type input-stream-
get-stdin: functype duration-
type input-stream-
type output-stream-
type io-error-
type pollable-
variant methodThis type corresponds to HTTP standard Methods.
[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.
type outgoing-request-
type request-options-
type future-incoming-response-
type error-code-
handle: funcThis function is invoked with an outgoing HTTP Request, and it returns
@@ -1552,10 +1533,10 @@ through the future-incoming-response
type incoming-request
-
type response-outparam-
handle: funcThis function is invoked with an incoming HTTP Request, and a resource