File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ world service {
3535
3636/// The `wasi:http/middleware` world captures HTTP services that forward HTTP
3737/// Requests to another handler.
38- ///
38+ ///
3939/// Components may implement this world to allow them to participate in handler
40- /// "chains" where a Request flows through handlers on its way to some terminal
41- /// `service` and corresponding Responses flow in the opposite direction.
40+ /// "chains" where a `request` flows through handlers on its way to some terminal
41+ /// `service` and corresponding `response` flows in the opposite direction.
4242world middleware {
4343 include service ;
4444 import handler ;
4545}
4646
4747/// This interface defines a handler of HTTP Requests.
48- ///
48+ ///
4949/// In a `wasi:http/service` this interface is exported to respond to an
5050/// incoming HTTP Request with a Response.
51- ///
51+ ///
5252/// In `wasi:http/middleware` this interface is both exported and imported as
5353/// the "downstream" and "upstream" directions of the middleware chain.
5454interface handler {
@@ -62,10 +62,10 @@ interface handler {
6262}
6363
6464/// This interface defines an HTTP client for sending "outgoing" requests.
65- ///
65+ ///
6666/// Most components are expected to import this interface to provide the
6767/// capability to send HTTP requests to arbitrary destinations on a network.
68- ///
68+ ///
6969/// The type signature of `client.send` is the same as `handler.handle` . This
7070/// duplication is currently necessary because some Component Model tooling
7171/// (including WIT itself) is unable to represent a component importing two
You can’t perform that action at this time.
0 commit comments