Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2WebResourceResponse_Impl
source · pub trait ICoreWebView2WebResourceResponse_Impl: Sized {
// Required methods
fn Content(&self) -> Result<IStream>;
fn SetContent(&self, content: Option<&IStream>) -> Result<()>;
fn Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders>;
fn StatusCode(&self, statuscode: *mut i32) -> Result<()>;
fn SetStatusCode(&self, statuscode: i32) -> Result<()>;
fn ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<()>;
fn SetReasonPhrase(&self, reasonphrase: &PCWSTR) -> Result<()>;
}
Required Methods§
fn Content(&self) -> Result<IStream>
fn SetContent(&self, content: Option<&IStream>) -> Result<()>
fn Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders>
fn StatusCode(&self, statuscode: *mut i32) -> Result<()>
fn SetStatusCode(&self, statuscode: i32) -> Result<()>
fn ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<()>
fn SetReasonPhrase(&self, reasonphrase: &PCWSTR) -> Result<()>
Object Safety§
This trait is not object safe.