Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2WebResourceRequest_Impl
source · pub trait ICoreWebView2WebResourceRequest_Impl: Sized {
// Required methods
fn Uri(&self, uri: *mut PWSTR) -> Result<()>;
fn SetUri(&self, uri: &PCWSTR) -> Result<()>;
fn Method(&self, method: *mut PWSTR) -> Result<()>;
fn SetMethod(&self, method: &PCWSTR) -> Result<()>;
fn Content(&self) -> Result<IStream>;
fn SetContent(&self, content: Option<&IStream>) -> Result<()>;
fn Headers(&self) -> Result<ICoreWebView2HttpRequestHeaders>;
}
Required Methods§
fn Uri(&self, uri: *mut PWSTR) -> Result<()>
fn SetUri(&self, uri: &PCWSTR) -> Result<()>
fn Method(&self, method: *mut PWSTR) -> Result<()>
fn SetMethod(&self, method: &PCWSTR) -> Result<()>
fn Content(&self) -> Result<IStream>
fn SetContent(&self, content: Option<&IStream>) -> Result<()>
fn Headers(&self) -> Result<ICoreWebView2HttpRequestHeaders>
Object Safety§
This trait is not object safe.