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