mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-25 18:36:30 +00:00
✨ Added Default
derive to allow for same functionality as base type (#179)
This commit is contained in:
parent
053d329e8b
commit
47f52327e8
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ impl ClientBuilder {
|
|||
|
||||
/// `ClientWithMiddleware` is a wrapper around [`reqwest::Client`] which runs middleware on every
|
||||
/// request.
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Default)]
|
||||
pub struct ClientWithMiddleware {
|
||||
inner: reqwest::Client,
|
||||
middleware_stack: Box<[Arc<dyn Middleware>]>,
|
||||
|
|
Loading…
Reference in a new issue