pub struct HttpOutboundAdapterBuilder { /* private fields */ }Implementations§
Source§impl HttpOutboundAdapterBuilder
impl HttpOutboundAdapterBuilder
pub fn id(self, v: impl Into<String>) -> HttpOutboundAdapterBuilder
Sourcepub fn url(self, v: impl Into<String>) -> HttpOutboundAdapterBuilder
pub fn url(self, v: impl Into<String>) -> HttpOutboundAdapterBuilder
Set the full target URL (must include scheme; either http:// or https://).
pub fn method(self, m: Method) -> HttpOutboundAdapterBuilder
pub fn use_out_msg(self, flag: bool) -> HttpOutboundAdapterBuilder
Sourcepub fn dangerous_accept_invalid_certs(
self,
flag: bool,
) -> HttpOutboundAdapterBuilder
pub fn dangerous_accept_invalid_certs( self, flag: bool, ) -> HttpOutboundAdapterBuilder
Disable TLS certificate validation on the underlying reqwest::Client.
Intended for tests only. Enabling this against a real endpoint defeats TLS — an active network attacker can read or modify all traffic. Production configuration loaded from YAML never sets this flag; it has no corresponding spec field.
pub fn build(self) -> Result<HttpOutboundAdapter, Error>
Trait Implementations§
Source§impl Default for HttpOutboundAdapterBuilder
impl Default for HttpOutboundAdapterBuilder
Source§fn default() -> HttpOutboundAdapterBuilder
fn default() -> HttpOutboundAdapterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HttpOutboundAdapterBuilder
impl RefUnwindSafe for HttpOutboundAdapterBuilder
impl Send for HttpOutboundAdapterBuilder
impl Sync for HttpOutboundAdapterBuilder
impl Unpin for HttpOutboundAdapterBuilder
impl UnsafeUnpin for HttpOutboundAdapterBuilder
impl UnwindSafe for HttpOutboundAdapterBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more