From bc7b85f72ef0635613cc0af566923d2c957c1099 Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Tue, 17 Oct 2023 10:26:48 -0700 Subject: [PATCH] Fill out missing docs --- proxy.md | 13 +++++++++++++ wit/types.wit | 24 +++++++++++++++++------- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/proxy.md b/proxy.md index 048821f..b3693b3 100644 --- a/proxy.md +++ b/proxy.md @@ -777,6 +777,7 @@ list instead of string.

  • own<fields>
  • [method]incoming-request.method: func

    +

    Returns the method of the incoming request.

    Params

    [method]incoming-request.path-with-query: func

    +

    Returns the path with query parameters from the request, as a string.

    Params

    [method]incoming-request.scheme: func

    +

    Returns the protocol scheme from the request.

    Params

    [method]incoming-request.authority: func

    +

    Returns the authority from the request, if it was present.

    Params

    [method]incoming-request.headers: func

    +

    Returns the headers from the request.

    Params

    [constructor]outgoing-request: func

    +

    Construct a new outgoing-request.

    Params

    [static]response-outparam.set: func

    +

    Set the value of the response-outparam to indicate either a response, +or an error.

    Params

    [method]incoming-response.status: func

    +

    Returns the status code from the incoming-response.

    Params

    [method]incoming-response.headers: func

    +

    Returns the headers from the incoming-response.

    Params

    [constructor]outgoing-response: func

    +

    Construct an outgoing-response.

    Params

    [method]future-incoming-response.subscribe: func

    +

    Pollable that resolves when the get method will resolve to a Some +result.

    Params