Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit eac8416

Browse files
committed
p3: add request-options#clone
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent 70ad39c commit eac8416

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wit-0.3.0-draft/types.wit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,10 @@ interface types {
407407
/// body stream. An error return value indicates that this timeout is not
408408
/// supported or that this handle is immutable.
409409
set-between-bytes-timeout: func(duration: option<duration>) -> result<_, request-options-error>;
410+
411+
/// Make a deep copy of the `request-options`.
412+
/// The resulting `request-options` is mutable.
413+
clone: func() -> request-options;
410414
}
411415

412416
/// This type corresponds to the HTTP standard Status Code.

0 commit comments

Comments
 (0)