Skip to content

Commit 505dda3

Browse files
Merge pull request #37 from CleverCloud/devel/fdubois/feat/inner-client
Expose inner hyper client
2 parents a5d19d6 + 8bcd215 commit 505dda3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/client/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,4 +712,9 @@ where
712712
pub fn set_credentials(&mut self, credentials: Option<Credentials>) {
713713
self.credentials = credentials;
714714
}
715+
716+
#[cfg_attr(feature = "trace", tracing::instrument)]
717+
pub fn inner(&self) -> &hyper::Client<C> {
718+
&self.inner
719+
}
715720
}

0 commit comments

Comments
 (0)