Struct deno_fetch::CreateHttpClientOptions
source · pub struct CreateHttpClientOptions {
pub root_cert_store: Option<RootCertStore>,
pub ca_certs: Vec<Vec<u8>>,
pub proxy: Option<Proxy>,
pub unsafely_ignore_certificate_errors: Option<Vec<String>>,
pub client_cert_chain_and_key: Option<(String, String)>,
pub pool_max_idle_per_host: Option<usize>,
pub pool_idle_timeout: Option<Option<u64>>,
pub http1: bool,
pub http2: bool,
}
Fields§
§root_cert_store: Option<RootCertStore>
§ca_certs: Vec<Vec<u8>>
§proxy: Option<Proxy>
§unsafely_ignore_certificate_errors: Option<Vec<String>>
§client_cert_chain_and_key: Option<(String, String)>
§pool_max_idle_per_host: Option<usize>
§pool_idle_timeout: Option<Option<u64>>
§http1: bool
§http2: bool
Trait Implementations§
source§impl Clone for CreateHttpClientOptions
impl Clone for CreateHttpClientOptions
source§fn clone(&self) -> CreateHttpClientOptions
fn clone(&self) -> CreateHttpClientOptions
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 CreateHttpClientOptions
impl Debug for CreateHttpClientOptions
Auto Trait Implementations§
impl RefUnwindSafe for CreateHttpClientOptions
impl Send for CreateHttpClientOptions
impl Sync for CreateHttpClientOptions
impl Unpin for CreateHttpClientOptions
impl UnwindSafe for CreateHttpClientOptions
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