Trait windows::Win32::Data::Xml::MsXml::IXMLHTTPRequest2_Impl

pub trait IXMLHTTPRequest2_Impl: Sized {
    // Required methods
    fn Open(
        &self,
        pwszmethod: &PCWSTR,
        pwszurl: &PCWSTR,
        pstatuscallback: Option<&IXMLHTTPRequest2Callback>,
        pwszusername: &PCWSTR,
        pwszpassword: &PCWSTR,
        pwszproxyusername: &PCWSTR,
        pwszproxypassword: &PCWSTR
    ) -> Result<()>;
    fn Send(&self, pbody: Option<&ISequentialStream>, cbbody: u64) -> Result<()>;
    fn Abort(&self) -> Result<()>;
    fn SetCookie(&self, pcookie: *const XHR_COOKIE) -> Result<u32>;
    fn SetCustomResponseStream(
        &self,
        psequentialstream: Option<&ISequentialStream>
    ) -> Result<()>;
    fn SetProperty(&self, eproperty: XHR_PROPERTY, ullvalue: u64) -> Result<()>;
    fn SetRequestHeader(
        &self,
        pwszheader: &PCWSTR,
        pwszvalue: &PCWSTR
    ) -> Result<()>;
    fn GetAllResponseHeaders(&self) -> Result<*mut u16>;
    fn GetCookie(
        &self,
        pwszurl: &PCWSTR,
        pwszname: &PCWSTR,
        dwflags: u32,
        pccookies: *mut u32,
        ppcookies: *mut *mut XHR_COOKIE
    ) -> Result<()>;
    fn GetResponseHeader(&self, pwszheader: &PCWSTR) -> Result<*mut u16>;
}

Required Methods§

fn Open( &self, pwszmethod: &PCWSTR, pwszurl: &PCWSTR, pstatuscallback: Option<&IXMLHTTPRequest2Callback>, pwszusername: &PCWSTR, pwszpassword: &PCWSTR, pwszproxyusername: &PCWSTR, pwszproxypassword: &PCWSTR ) -> Result<()>

fn Send(&self, pbody: Option<&ISequentialStream>, cbbody: u64) -> Result<()>

fn Abort(&self) -> Result<()>

fn SetCookie(&self, pcookie: *const XHR_COOKIE) -> Result<u32>

fn SetCustomResponseStream( &self, psequentialstream: Option<&ISequentialStream> ) -> Result<()>

fn SetProperty(&self, eproperty: XHR_PROPERTY, ullvalue: u64) -> Result<()>

fn SetRequestHeader( &self, pwszheader: &PCWSTR, pwszvalue: &PCWSTR ) -> Result<()>

fn GetAllResponseHeaders(&self) -> Result<*mut u16>

fn GetCookie( &self, pwszurl: &PCWSTR, pwszname: &PCWSTR, dwflags: u32, pccookies: *mut u32, ppcookies: *mut *mut XHR_COOKIE ) -> Result<()>

fn GetResponseHeader(&self, pwszheader: &PCWSTR) -> Result<*mut u16>

Object Safety§

This trait is not object safe.

Implementors§