pub struct CreateBrowserContextParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CreateBrowserContextParamsBuilder<'a>
impl<'a> CreateBrowserContextParamsBuilder<'a>
Sourcepub fn disposeOnDetach(self, disposeOnDetach: bool) -> Self
pub fn disposeOnDetach(self, disposeOnDetach: bool) -> Self
If specified, disposes this context when debugging session disconnects.
Sourcepub fn proxyServer(self, proxyServer: impl Into<Cow<'a, str>>) -> Self
pub fn proxyServer(self, proxyServer: impl Into<Cow<'a, str>>) -> Self
Proxy server, similar to the one passed to –proxy-server
Sourcepub fn proxyBypassList(self, proxyBypassList: impl Into<Cow<'a, str>>) -> Self
pub fn proxyBypassList(self, proxyBypassList: impl Into<Cow<'a, str>>) -> Self
Proxy bypass list, similar to the one passed to –proxy-bypass-list
Sourcepub fn originsWithUniversalNetworkAccess(
self,
originsWithUniversalNetworkAccess: Vec<Cow<'a, str>>,
) -> Self
pub fn originsWithUniversalNetworkAccess( self, originsWithUniversalNetworkAccess: Vec<Cow<'a, str>>, ) -> Self
An optional list of origins to grant unlimited cross-origin access to. Parts of the URL other than those constituting origin are ignored.
pub fn build(self) -> CreateBrowserContextParams<'a>
Trait Implementations§
Source§impl<'a> Default for CreateBrowserContextParamsBuilder<'a>
impl<'a> Default for CreateBrowserContextParamsBuilder<'a>
Source§fn default() -> CreateBrowserContextParamsBuilder<'a>
fn default() -> CreateBrowserContextParamsBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CreateBrowserContextParamsBuilder<'a>
impl<'a> RefUnwindSafe for CreateBrowserContextParamsBuilder<'a>
impl<'a> Send for CreateBrowserContextParamsBuilder<'a>
impl<'a> Sync for CreateBrowserContextParamsBuilder<'a>
impl<'a> Unpin for CreateBrowserContextParamsBuilder<'a>
impl<'a> UnsafeUnpin for CreateBrowserContextParamsBuilder<'a>
impl<'a> UnwindSafe for CreateBrowserContextParamsBuilder<'a>
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