Skip to content

Commit 8202a41

Browse files
committed
Add clone restriction
1 parent 5ce74fc commit 8202a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eventsource-client/src/transport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl StdError for TransportError {
9696
/// }
9797
/// }
9898
/// ```
99-
pub trait HttpTransport: Send + Sync + 'static {
99+
pub trait HttpTransport: Send + Sync + Clone + 'static {
100100
/// Execute an HTTP request and return a streaming response.
101101
///
102102
/// # Arguments

0 commit comments

Comments
 (0)