The
IWinHttpRequest interface provides all of the nonevent methods for
Microsoft Windows HTTP Services (WinHTTP).
Methods
The IWinHttpRequest interface inherits the methods of the IUnknown interface.
In addition, IWinHttpRequest defines the following methods.
Properties
The IWinHttpRequest interface defines the following properties. The preceding table includes access methods for these properties.
| Property | Access type | Description |
Option | Read/write | A WinHTTP option value.
|
ResponseBody | Read-only | The response entity body as an array of unsigned bytes.
|
ResponseStream | Read-only | The response entity body as an
IStream.
|
ResponseText | Read-only | The response entity body.
|
Status | Read-only | The HTTP status code from the last response.
|
StatusText | Read-only | The HTTP status text.
|
Remarks
Note For Windows XP and Windows 2000, see the Run-Time Requirements section of the WinHttp start page.
Requirements
| Minimum supported client | Windows XP, Windows 2000 Professional with SP3 |
| Minimum supported server | Windows Server 2003, Windows 2000 Server with SP3 |
| Redistributable | WinHTTP 5.0 and Internet Explorer 5.01 or later on Windows XP and Windows 2000. |
| IDL | HttpRequest.idl |
| Library | Winhttp.lib |
| DLL | Winhttp.dll |
See Also
- IWinHttpRequestEvents
- WinHTTP Versions
Send comments about this topic to Microsoft
Build date: 10/8/2009