pub struct ProxyOptions {
pub buffer_bodies: bool,
}
Expand description
Configuration options for the reverse proxy
Fields§
§buffer_bodies: bool
Whether to buffer the entire request/response bodies in memory If false (default), requests and responses will be streamed
Trait Implementations§
Source§impl Clone for ProxyOptions
impl Clone for ProxyOptions
Source§fn clone(&self) -> ProxyOptions
fn clone(&self) -> ProxyOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProxyOptions
impl Debug for ProxyOptions
Source§impl Default for ProxyOptions
impl Default for ProxyOptions
Source§fn default() -> ProxyOptions
fn default() -> ProxyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProxyOptions
impl RefUnwindSafe for ProxyOptions
impl Send for ProxyOptions
impl Sync for ProxyOptions
impl Unpin for ProxyOptions
impl UnwindSafe for ProxyOptions
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