Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager_Impl
source · [−]pub trait ICoreWebView2CookieManager_Impl: Sized {
fn CreateCookie(
&self,
name: &PCWSTR,
value: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<ICoreWebView2Cookie>;
fn CopyCookie(
&self,
cookieparam: &Option<ICoreWebView2Cookie>
) -> Result<ICoreWebView2Cookie>;
fn GetCookies(
&self,
uri: &PCWSTR,
handler: &Option<ICoreWebView2GetCookiesCompletedHandler>
) -> Result<()>;
fn AddOrUpdateCookie(
&self,
cookie: &Option<ICoreWebView2Cookie>
) -> Result<()>;
fn DeleteCookie(&self, cookie: &Option<ICoreWebView2Cookie>) -> Result<()>;
fn DeleteCookies(&self, name: &PCWSTR, uri: &PCWSTR) -> Result<()>;
fn DeleteCookiesWithDomainAndPath(
&self,
name: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<()>;
fn DeleteAllCookies(&self) -> Result<()>;
}
Required Methods
sourcefn CreateCookie(
fn CreateCookie(
&self,
name: &PCWSTR,
value: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<ICoreWebView2Cookie>
sourcefn CopyCookie(
fn CopyCookie(
&self,
cookieparam: &Option<ICoreWebView2Cookie>
) -> Result<ICoreWebView2Cookie>
sourcefn GetCookies(
fn GetCookies(
&self,
uri: &PCWSTR,
handler: &Option<ICoreWebView2GetCookiesCompletedHandler>
) -> Result<()>
source
fn AddOrUpdateCookie(&self, cookie: &Option<ICoreWebView2Cookie>) -> Result<()>
source
fn DeleteCookie(&self, cookie: &Option<ICoreWebView2Cookie>) -> Result<()>
sourcefn DeleteCookiesWithDomainAndPath(
fn DeleteCookiesWithDomainAndPath(
&self,
name: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<()>
source