pub trait IXMLHTTPRequest2Callback_Impl: Sized {
// Required methods
fn OnRedirect(
&self,
pxhr: Option<&IXMLHTTPRequest2>,
pwszredirecturl: &PCWSTR
) -> Result<()>;
fn OnHeadersAvailable(
&self,
pxhr: Option<&IXMLHTTPRequest2>,
dwstatus: u32,
pwszstatus: &PCWSTR
) -> Result<()>;
fn OnDataAvailable(
&self,
pxhr: Option<&IXMLHTTPRequest2>,
presponsestream: Option<&ISequentialStream>
) -> Result<()>;
fn OnResponseReceived(
&self,
pxhr: Option<&IXMLHTTPRequest2>,
presponsestream: Option<&ISequentialStream>
) -> Result<()>;
fn OnError(
&self,
pxhr: Option<&IXMLHTTPRequest2>,
hrerror: HRESULT
) -> Result<()>;
}
Required Methods§
fn OnRedirect( &self, pxhr: Option<&IXMLHTTPRequest2>, pwszredirecturl: &PCWSTR ) -> Result<()>
fn OnHeadersAvailable( &self, pxhr: Option<&IXMLHTTPRequest2>, dwstatus: u32, pwszstatus: &PCWSTR ) -> Result<()>
fn OnDataAvailable( &self, pxhr: Option<&IXMLHTTPRequest2>, presponsestream: Option<&ISequentialStream> ) -> Result<()>
fn OnResponseReceived( &self, pxhr: Option<&IXMLHTTPRequest2>, presponsestream: Option<&ISequentialStream> ) -> Result<()>
fn OnError( &self, pxhr: Option<&IXMLHTTPRequest2>, hrerror: HRESULT ) -> Result<()>
Object Safety§
This trait is not object safe.