pub trait ICoreWebView2CookieManager_Impl: Sized {
    // Required methods
    fn CreateCookie(
        &self,
        name: &PCWSTR,
        value: &PCWSTR,
        domain: &PCWSTR,
        path: &PCWSTR
    ) -> Result<ICoreWebView2Cookie, Error>;
    fn CopyCookie(
        &self,
        cookieparam: Option<&ICoreWebView2Cookie>
    ) -> Result<ICoreWebView2Cookie, Error>;
    fn GetCookies(
        &self,
        uri: &PCWSTR,
        handler: Option<&ICoreWebView2GetCookiesCompletedHandler>
    ) -> Result<(), Error>;
    fn AddOrUpdateCookie(
        &self,
        cookie: Option<&ICoreWebView2Cookie>
    ) -> Result<(), Error>;
    fn DeleteCookie(
        &self,
        cookie: Option<&ICoreWebView2Cookie>
    ) -> Result<(), Error>;
    fn DeleteCookies(&self, name: &PCWSTR, uri: &PCWSTR) -> Result<(), Error>;
    fn DeleteCookiesWithDomainAndPath(
        &self,
        name: &PCWSTR,
        domain: &PCWSTR,
        path: &PCWSTR
    ) -> Result<(), Error>;
    fn DeleteAllCookies(&self) -> Result<(), Error>;
}

Required Methods§

Implementors§