pub trait IXMLHTTPRequest_Impl: Sized + IDispatch_Impl {
Show 14 methods
// Required methods
fn open(
&self,
bstrmethod: &BSTR,
bstrurl: &BSTR,
varasync: &VARIANT,
bstruser: &VARIANT,
bstrpassword: &VARIANT,
) -> Result<()>;
fn setRequestHeader(
&self,
bstrheader: &BSTR,
bstrvalue: &BSTR,
) -> Result<()>;
fn getResponseHeader(&self, bstrheader: &BSTR) -> Result<BSTR>;
fn getAllResponseHeaders(&self) -> Result<BSTR>;
fn send(&self, varbody: &VARIANT) -> Result<()>;
fn abort(&self) -> Result<()>;
fn status(&self) -> Result<i32>;
fn statusText(&self) -> Result<BSTR>;
fn responseXML(&self) -> Result<IDispatch>;
fn responseText(&self) -> Result<BSTR>;
fn responseBody(&self) -> Result<VARIANT>;
fn responseStream(&self) -> Result<VARIANT>;
fn readyState(&self) -> Result<i32>;
fn Setonreadystatechange(
&self,
preadystatesink: Option<&IDispatch>,
) -> Result<()>;
}
Required Methods§
fn open( &self, bstrmethod: &BSTR, bstrurl: &BSTR, varasync: &VARIANT, bstruser: &VARIANT, bstrpassword: &VARIANT, ) -> Result<()>
fn setRequestHeader(&self, bstrheader: &BSTR, bstrvalue: &BSTR) -> Result<()>
fn getResponseHeader(&self, bstrheader: &BSTR) -> Result<BSTR>
fn getAllResponseHeaders(&self) -> Result<BSTR>
fn send(&self, varbody: &VARIANT) -> Result<()>
fn abort(&self) -> Result<()>
fn status(&self) -> Result<i32>
fn statusText(&self) -> Result<BSTR>
fn responseXML(&self) -> Result<IDispatch>
fn responseText(&self) -> Result<BSTR>
fn responseBody(&self) -> Result<VARIANT>
fn responseStream(&self) -> Result<VARIANT>
fn readyState(&self) -> Result<i32>
fn Setonreadystatechange( &self, preadystatesink: Option<&IDispatch>, ) -> Result<()>
Object Safety§
This trait is not object safe.