ReactOS  0.4.12-dev-102-g4b7f1e0
WinHttp::IWinHttpRequest Interface Reference

import"httprequest.idl";

Inheritance diagram for WinHttp::IWinHttpRequest:
Collaboration diagram for WinHttp::IWinHttpRequest:

Public Member Functions

HRESULT SetProxy ([in] HTTPREQUEST_PROXY_SETTING proxy_setting, [in, optional] VARIANT proxy_server, [in, optional] VARIANT bypass_list)
 
HRESULT SetCredentials ([in] BSTR username, [in] BSTR password, [in] HTTPREQUEST_SETCREDENTIALS_FLAGS flags)
 
HRESULT Open ([in] BSTR method, [in] BSTR url, [in, optional] VARIANT async)
 
HRESULT SetRequestHeader ([in] BSTR header, [in] BSTR value)
 
HRESULT GetResponseHeader ([in] BSTR header, [out, retval] BSTR *value)
 
HRESULT GetAllResponseHeaders ([out, retval] BSTR *headers)
 
HRESULT Send ([in, optional] VARIANT body)
 
HRESULT WaitForResponse ([in, optional] VARIANT timeout, [out, retval] VARIANT_BOOL *succeeded)
 
HRESULT Abort ()
 
HRESULT SetTimeouts ([in] LONG resolve_timeout, [in] LONG connect_timeout, [in] LONG send_timeout, [in] LONG receive_timeout)
 
HRESULT SetClientCertificate ([in] BSTR certificate)
 
HRESULT SetAutoLogonPolicy ([in] WinHttpRequestAutoLogonPolicy policy)
 
- Public Member Functions inherited from IDispatch
HRESULT GetTypeInfoCount ([out] UINT *pctinfo)
 
HRESULT GetTypeInfo ([in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo **ppTInfo)
 
HRESULT GetIDsOfNames ([in] REFIID riid, [in, size_is(cNames)] LPOLESTR *rgszNames, [in] UINT cNames, [in] LCID lcid, [out, size_is(cNames)] DISPID *rgDispId)
 
HRESULT Invoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] WORD wFlags, [in, out] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *puArgErr)
 
HRESULT RemoteInvoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] DWORD dwFlags, [in] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *pArgErr, [in] UINT cVarRef, [in, size_is(cVarRef)] UINT *rgVarRefIdx, [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

LONG Status [get]
 
BSTR StatusText [get]
 
BSTR ResponseText [get]
 
VARIANT ResponseBody [get]
 
VARIANT ResponseStream [get]
 
VARIANT Option ([in] WinHttpRequestOption option) [get, set]
 

Additional Inherited Members

- Public Types inherited from IDispatch
typedef IDispatchLPDISPATCH
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Attributes inherited from IDispatch
const DISPID DISPID_UNKNOWN = -1
 
const DISPID DISPID_VALUE = 0
 
const DISPID DISPID_PROPERTYPUT = -3
 
const DISPID DISPID_NEWENUM = -4
 
const DISPID DISPID_EVALUATE = -5
 
const DISPID DISPID_CONSTRUCTOR = -6
 
const DISPID DISPID_DESTRUCTOR = -7
 
const DISPID DISPID_COLLECT = -8
 

Detailed Description

Definition at line 92 of file httprequest.idl.

Member Function Documentation

◆ Abort()

HRESULT WinHttp::IWinHttpRequest::Abort ( )

◆ GetAllResponseHeaders()

HRESULT WinHttp::IWinHttpRequest::GetAllResponseHeaders ( [out, retval] BSTR headers)

◆ GetResponseHeader()

HRESULT WinHttp::IWinHttpRequest::GetResponseHeader ( [in] BSTR  header,
[out, retval] BSTR value 
)

◆ Open()

HRESULT WinHttp::IWinHttpRequest::Open ( [in] BSTR  method,
[in] BSTR  url,
[in, optional] VARIANT  async 
)

◆ Send()

HRESULT WinHttp::IWinHttpRequest::Send ( [in, optional] VARIANT  body)

◆ SetAutoLogonPolicy()

HRESULT WinHttp::IWinHttpRequest::SetAutoLogonPolicy ( [in] WinHttpRequestAutoLogonPolicy  policy)

◆ SetClientCertificate()

HRESULT WinHttp::IWinHttpRequest::SetClientCertificate ( [in] BSTR  certificate)

◆ SetCredentials()

HRESULT WinHttp::IWinHttpRequest::SetCredentials ( [in] BSTR  username,
[in] BSTR  password,
[in] HTTPREQUEST_SETCREDENTIALS_FLAGS  flags 
)

◆ SetProxy()

HRESULT WinHttp::IWinHttpRequest::SetProxy ( [in] HTTPREQUEST_PROXY_SETTING  proxy_setting,
[in, optional] VARIANT  proxy_server,
[in, optional] VARIANT  bypass_list 
)

◆ SetRequestHeader()

HRESULT WinHttp::IWinHttpRequest::SetRequestHeader ( [in] BSTR  header,
[in] BSTR  value 
)

◆ SetTimeouts()

HRESULT WinHttp::IWinHttpRequest::SetTimeouts ( [in] LONG  resolve_timeout,
[in] LONG  connect_timeout,
[in] LONG  send_timeout,
[in] LONG  receive_timeout 
)

◆ WaitForResponse()

HRESULT WinHttp::IWinHttpRequest::WaitForResponse ( [in, optional] VARIANT  timeout,
[out, retval] VARIANT_BOOL succeeded 
)

Property Documentation

◆ Option

VARIANT WinHttp::IWinHttpRequest::Option
getset

◆ ResponseBody

VARIANT WinHttp::IWinHttpRequest::ResponseBody
get

◆ ResponseStream

VARIANT WinHttp::IWinHttpRequest::ResponseStream
get

◆ ResponseText

BSTR WinHttp::IWinHttpRequest::ResponseText
get

◆ Status

LONG WinHttp::IWinHttpRequest::Status
get

◆ StatusText

BSTR WinHttp::IWinHttpRequest::StatusText
get

The documentation for this interface was generated from the following file: