This repository was archived by the owner on Nov 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -6,19 +6,19 @@ package wasi:http@0.2.0-rc-2024-01-16;
66/// outgoing HTTP requests.
77world proxy {
88 /// HTTP proxies have access to time and randomness.
9- include wasi :clocks /imports @ 0.2.0-rc-2023-11-10 ;
10- import wasi :random /random @ 0.2.0-rc-2023-11-10 ;
9+ include wasi :clocks /imports @ 0.2.0 ;
10+ import wasi :random /random @ 0.2.0 ;
1111
1212 /// Proxies have standard output and error streams which are expected to
1313 /// terminate in a developer-facing console provided by the host.
14- import wasi :cli /stdout @ 0.2.0-rc-2024-01-16 ;
15- import wasi :cli /stderr @ 0.2.0-rc-2024-01-16 ;
14+ import wasi :cli /stdout @ 0.2.0 ;
15+ import wasi :cli /stderr @ 0.2.0 ;
1616
1717 /// TODO: this is a temporary workaround until component tooling is able to
1818 /// gracefully handle the absence of stdin. Hosts must return an eof stream
1919 /// for this import, which is what wasi-libc + tooling will do automatically
2020 /// when this import is properly removed.
21- import wasi :cli /stdin @ 0.2.0-rc-2024-01-16 ;
21+ import wasi :cli /stdin @ 0.2.0 ;
2222
2323 /// This is the default handler to use when user code simply wants to make an
2424 /// HTTP request (e.g., via `fetch()` ).
Original file line number Diff line number Diff line change 22/// HTTP Requests and Responses, both incoming and outgoing, as well as
33/// their headers, trailers, and bodies.
44interface types {
5- use wasi :clocks /monotonic-clock @ 0.2.0-rc-2023-11-10 . {duration };
6- use wasi :io /streams @ 0.2.0-rc-2023-11-10 . {input-stream , output-stream };
7- use wasi :io /error @ 0.2.0-rc-2023-11-10 . {error as io-error };
8- use wasi :io /poll @ 0.2.0-rc-2023-11-10 . {pollable };
5+ use wasi :clocks /monotonic-clock @ 0.2.0 . {duration };
6+ use wasi :io /streams @ 0.2.0 . {input-stream , output-stream };
7+ use wasi :io /error @ 0.2.0 . {error as io-error };
8+ use wasi :io /poll @ 0.2.0 . {pollable };
99
1010 /// This type corresponds to HTTP standard Methods.
1111 variant method {
You can’t perform that action at this time.
0 commit comments