pub trait ICoreWebView2CookieManager_Impl {
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
sourcefn CreateCookie(
fn CreateCookie(
&self,
name: &PCWSTR,
value: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<ICoreWebView2Cookie, Error>
sourcefn CopyCookie(
fn CopyCookie(
&self,
cookieparam: &Option<ICoreWebView2Cookie>
) -> Result<ICoreWebView2Cookie, Error>
sourcefn GetCookies(
fn GetCookies(
&self,
uri: &PCWSTR,
handler: &Option<ICoreWebView2GetCookiesCompletedHandler>
) -> Result<(), Error>
sourcefn AddOrUpdateCookie(
fn AddOrUpdateCookie(
&self,
cookie: &Option<ICoreWebView2Cookie>
) -> Result<(), Error>
source
fn DeleteCookie(&self, cookie: &Option<ICoreWebView2Cookie>) -> Result<(), Error>
sourcefn DeleteCookiesWithDomainAndPath(
fn DeleteCookiesWithDomainAndPath(
&self,
name: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<(), Error>
source