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;
6
6
/// outgoing HTTP requests.
7
7
world proxy {
8
8
/// 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 ;
11
11
12
12
/// Proxies have standard output and error streams which are expected to
13
13
/// 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 ;
16
16
17
17
/// TODO: this is a temporary workaround until component tooling is able to
18
18
/// gracefully handle the absence of stdin. Hosts must return an eof stream
19
19
/// for this import, which is what wasi-libc + tooling will do automatically
20
20
/// 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 ;
22
22
23
23
/// This is the default handler to use when user code simply wants to make an
24
24
/// HTTP request (e.g., via `fetch()` ).
Original file line number Diff line number Diff line change 2
2
/// HTTP Requests and Responses, both incoming and outgoing, as well as
3
3
/// their headers, trailers, and bodies.
4
4
interface 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 };
9
9
10
10
/// This type corresponds to HTTP standard Methods.
11
11
variant method {
You can’t perform that action at this time.
0 commit comments