We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
request-options
1 parent 1c286e5 commit 9caa8b3Copy full SHA for 9caa8b3
wit-0.3.0-draft/types.wit
@@ -361,9 +361,9 @@ interface types {
361
/// component by e.g. `handler.handle`.
362
body: func() -> option<body>;
363
364
- /// Takes ownership of the `request` and returns the `headers` and `body`,
365
- /// if any.
366
- into-parts: static func(this: request) -> tuple<headers, option<body>>;
+ /// Takes ownership of the `request` and returns the `headers`, `body`
+ /// and `request-options`, if any.
+ into-parts: static func(this: request) -> tuple<headers, option<body>, option<request-options>>;
367
}
368
369
/// Parameters for making an HTTP Request. Each of these parameters is
0 commit comments