Skip to content

Commit 686f5e6

Browse files
committed
wstd::http::client: derive Clone
1 parent d1687b2 commit 686f5e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/http/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::time::Duration;
66
use wasip2::http::types::RequestOptions as WasiRequestOptions;
77

88
/// An HTTP client.
9-
#[derive(Debug)]
9+
#[derive(Debug, Clone)]
1010
pub struct Client {
1111
options: Option<RequestOptions>,
1212
}
@@ -85,7 +85,7 @@ impl Client {
8585
}
8686
}
8787

88-
#[derive(Default, Debug)]
88+
#[derive(Default, Debug, Clone)]
8989
struct RequestOptions {
9090
connect_timeout: Option<Duration>,
9191
first_byte_timeout: Option<Duration>,

0 commit comments

Comments
 (0)