diff --git a/wit/types.wit b/wit/types.wit index 1dd4214..62f7365 100644 --- a/wit/types.wit +++ b/wit/types.wit @@ -191,7 +191,7 @@ interface types { append: func(name: field-key, value: field-value) -> result<_, header-error>; /// Retrieve the full set of keys and values in the Fields. Like the - /// constructor, the list represents each key-value pair. + /// constructor, the list represents each key-value pair. /// /// The outer list represents each key-value pair in the Fields. Keys /// which have multiple values are represented by multiple entries in this @@ -319,27 +319,27 @@ interface types { constructor(); /// The timeout for the initial connect to the HTTP Server. - connect-timeout-ms: func() -> option; + connect-timeout: func() -> option; /// Set the timeout for the initial connect to the HTTP Server. An error /// return value indicates that this timeout is not supported. - set-connect-timeout-ms: func(ms: option) -> result; + set-connect-timeout: func(ms: option) -> result; /// The timeout for receiving the first byte of the Response body. - first-byte-timeout-ms: func() -> option; + first-byte-timeout: func() -> option; /// Set the timeout for receiving the first byte of the Response body. An /// error return value indicates that this timeout is not supported. - set-first-byte-timeout-ms: func(ms: option) -> result; + set-first-byte-timeout: func(ms: option) -> result; /// The timeout for receiving subsequent chunks of bytes in the Response /// body stream. - between-bytes-timeout-ms: func() -> option; + between-bytes-timeout: func() -> option; /// Set the timeout for receiving subsequent chunks of bytes in the Response /// body stream. An error return value indicates that this timeout is not /// supported. - set-between-bytes-timeout-ms: func(ms: option) -> result; + set-between-bytes-timeout: func(ms: option) -> result; } /// Represents the ability to send an HTTP Response.