pub struct HttpPullConfig {
pub client: Arc<dyn HttpClient>,
pub default_headers: HeaderMap,
pub max_batch_size: usize,
pub retry: HttpRetryConfig,
}Expand description
HTTP pull and poll sources, decoders, and configuration types. Configuration for HTTP pull source (finite mode) (FLOWIP-084e OT-1/2/8/9).
Fields§
§client: Arc<dyn HttpClient>Pre-configured HTTP client (timeouts, TLS, connection pooling).
default_headers: HeaderMapHeaders injected into every request.
max_batch_size: usizeMaximum events to emit per next() call.
retry: HttpRetryConfigRetry/backoff configuration.
Trait Implementations§
Source§impl Clone for HttpPullConfig
impl Clone for HttpPullConfig
Source§fn clone(&self) -> HttpPullConfig
fn clone(&self) -> HttpPullConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HttpPullConfig
impl !UnwindSafe for HttpPullConfig
impl Freeze for HttpPullConfig
impl Send for HttpPullConfig
impl Sync for HttpPullConfig
impl Unpin for HttpPullConfig
impl UnsafeUnpin for HttpPullConfig
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