pub struct CookieManager { /* private fields */ }Expand description
Safe wrapper around ArkWeb_CookieManagerAPI (API 12+).
Implementations§
Source§impl CookieManager
impl CookieManager
Sourcepub fn new() -> Self
pub fn new() -> Self
Retrieves the native ArkWeb CookieManager API table. Must be initialized on the UI thread.
pub fn check_member_missing(&self, member: &str) -> Result<(), ArkWebError>
Synchronously fetches cookies for url.
Synchronously sets a cookie value for url.
Returns whether any cookies exist in the selected cookie jar.
Synchronously clears all cookies in the selected cookie jar.
Synchronously clears all session cookies.
Trait Implementations§
Source§impl Default for CookieManager
impl Default for CookieManager
impl Send for CookieManager
impl Sync for CookieManager
Auto Trait Implementations§
impl Forget for CookieManager
impl Freeze for CookieManager
impl Move for CookieManager
impl RefUnwindSafe for CookieManager
impl Unpin for CookieManager
impl UnsafeUnpin for CookieManager
impl UnwindSafe for CookieManager
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