From a27cfb381792c7b2b31b45cfff4b045ac7c6b2b5 Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Tue, 17 Oct 2023 10:20:35 -0700 Subject: [PATCH] Reflow lines to 80 cols --- proxy.md | 71 +++++++++++++++++++++++++++++++++++++++------------ wit/types.wit | 41 +++++++++++++++-------------- 2 files changed, 76 insertions(+), 36 deletions(-) diff --git a/proxy.md b/proxy.md index b32e44a..048821f 100644 --- a/proxy.md +++ b/proxy.md @@ -621,6 +621,9 @@ the output stream.

  • own<input-stream>
  • Import interface wasi:http/types

    +

    The wasi:http/types interface is meant to be imported by components to +define the HTTP resource types and operations used by the component's +imported and exported interfaces.


    Types

    type input-stream

    @@ -633,6 +636,7 @@ the output stream.

    [`pollable`](#pollable)

    #### `variant method` +

    This type corresponds to HTTP standard Methods.

    Variant Cases

    variant scheme

    +

    This type corresponds to HTTP standard Related Schemes.

    Variant Cases

    variant error

    +

    TODO: perhaps better align with HTTP semantics? +This type enumerates the different kinds of errors that may occur when +initially returning a response.

    Variant Cases