We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1687b2 commit 686f5e6Copy full SHA for 686f5e6
1 file changed
src/http/client.rs
@@ -6,7 +6,7 @@ use crate::time::Duration;
6
use wasip2::http::types::RequestOptions as WasiRequestOptions;
7
8
/// An HTTP client.
9
-#[derive(Debug)]
+#[derive(Debug, Clone)]
10
pub struct Client {
11
options: Option<RequestOptions>,
12
}
@@ -85,7 +85,7 @@ impl Client {
85
86
87
88
-#[derive(Default, Debug)]
+#[derive(Default, Debug, Clone)]
89
struct RequestOptions {
90
connect_timeout: Option<Duration>,
91
first_byte_timeout: Option<Duration>,
0 commit comments