pub trait ICoreWebView2WebResourceResponse_Impl: Sized {
    // Required methods
    fn Content(&self) -> Result<IStream, Error>;
    fn SetContent(&self, content: Option<&IStream>) -> Result<(), Error>;
    fn Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders, Error>;
    fn StatusCode(&self, statuscode: *mut i32) -> Result<(), Error>;
    fn SetStatusCode(&self, statuscode: i32) -> Result<(), Error>;
    fn ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<(), Error>;
    fn SetReasonPhrase(&self, reasonphrase: &PCWSTR) -> Result<(), Error>;
}

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§