From 9356717540049680949672fbea37cfa83b0bb961 Mon Sep 17 00:00:00 2001 From: Lann Martin Date: Mon, 6 Oct 2025 14:57:44 -0400 Subject: [PATCH] Rename 0.3 'proxy' world to 'service' This helps to clarify that this world is appropriate for any component handling inbound requests and frees up the 'proxy' identifier for future use. --- wit-0.3.0-draft/{proxy.wit => service.wit} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename wit-0.3.0-draft/{proxy.wit => service.wit} (87%) diff --git a/wit-0.3.0-draft/proxy.wit b/wit-0.3.0-draft/service.wit similarity index 87% rename from wit-0.3.0-draft/proxy.wit rename to wit-0.3.0-draft/service.wit index 223083e..c7b9eb7 100644 --- a/wit-0.3.0-draft/proxy.wit +++ b/wit-0.3.0-draft/service.wit @@ -1,13 +1,13 @@ package wasi:http@0.3.0-rc-2025-09-16; -/// The `wasi:http/imports` world imports all the APIs for HTTP proxies. +/// The `wasi:http/imports` world imports all the APIs for HTTP services. /// It is intended to be `include`d in other worlds. world imports { - /// HTTP proxies have access to time and randomness. + /// HTTP services have access to time and randomness. include wasi:clocks/imports@0.3.0-rc-2025-09-16; import wasi:random/random@0.3.0-rc-2025-09-16; - /// Proxies have standard output and error streams which are expected to + /// Services have standard output and error streams which are expected to /// terminate in a developer-facing console provided by the host. import wasi:cli/stdout@0.3.0-rc-2025-09-16; import wasi:cli/stderr@0.3.0-rc-2025-09-16; @@ -26,11 +26,11 @@ world imports { import handler; } -/// The `wasi:http/proxy` world captures a widely-implementable intersection of +/// The `wasi:http/service` world captures a widely-implementable intersection of /// hosts that includes HTTP forward and reverse proxies. Components targeting /// this world may concurrently stream in and out any number of incoming and /// outgoing HTTP requests. -world proxy { +world service { include imports; /// The host delivers incoming HTTP requests to a component by calling the