Rename setter to be consistent with other builder settter

This commit is contained in:
Martin Algesten
2021-12-11 08:30:30 +01:00
parent b033e0f614
commit 8d33318a23

View File

@@ -465,7 +465,7 @@ impl AgentBuilder {
/// ///
/// Defaults to [`RedirectAuthHeaders::Never`]. /// Defaults to [`RedirectAuthHeaders::Never`].
/// ///
pub fn set_redirect_auth_headers(mut self, v: RedirectAuthHeaders) -> Self { pub fn redirect_auth_headers(mut self, v: RedirectAuthHeaders) -> Self {
self.config.redirect_auth_headers = v; self.config.redirect_auth_headers = v;
self self
} }