Skip to content

Commit 9caa8b3

Browse files
authored
feat(p3): return owned request-options on consumption (#160)
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent 1c286e5 commit 9caa8b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wit-0.3.0-draft/types.wit

+3-3
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ interface types {
361361
/// component by e.g. `handler.handle`.
362362
body: func() -> option<body>;
363363

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>>;
364+
/// Takes ownership of the `request` and returns the `headers`, `body`
365+
/// and `request-options`, if any.
366+
into-parts: static func(this: request) -> tuple<headers, option<body>, option<request-options>>;
367367
}
368368

369369
/// Parameters for making an HTTP Request. Each of these parameters is

0 commit comments

Comments
 (0)