pub struct HttpOptions {
pub user_agent: Option<String>,
pub ca_file: Option<PathBuf>,
pub client_cert_file: Option<PathBuf>,
pub client_cert_key_file: Option<PathBuf>,
pub client_cert_key_password: Option<String>,
pub disable_peer_verification: bool,
pub ignore_failures: bool,
}Expand description
TLS / HTTP options for push, CPIX, and Widevine.
Fields§
§user_agent: Option<String>§ca_file: Option<PathBuf>§client_cert_file: Option<PathBuf>§client_cert_key_file: Option<PathBuf>§client_cert_key_password: Option<String>§disable_peer_verification: bool§ignore_failures: boolTrait Implementations§
Source§impl Clone for HttpOptions
impl Clone for HttpOptions
Source§fn clone(&self) -> HttpOptions
fn clone(&self) -> HttpOptions
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 moreSource§impl Debug for HttpOptions
impl Debug for HttpOptions
Source§impl Default for HttpOptions
impl Default for HttpOptions
Source§fn default() -> HttpOptions
fn default() -> HttpOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HttpOptions
impl RefUnwindSafe for HttpOptions
impl Send for HttpOptions
impl Sync for HttpOptions
impl Unpin for HttpOptions
impl UnsafeUnpin for HttpOptions
impl UnwindSafe for HttpOptions
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