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§

source

fn Content(&self) -> Result<IStream>

source

fn SetContent(&self, content: Option<&IStream>) -> Result<()>

source

fn Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders>

source

fn StatusCode(&self, statuscode: *mut i32) -> Result<()>

source

fn SetStatusCode(&self, statuscode: i32) -> Result<()>

source

fn ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<()>

source

fn SetReasonPhrase(&self, reasonphrase: &PCWSTR) -> Result<()>

Implementors§