| title | IHttpResponse2 Interface |
|---|---|
| description | Describes the IHttpResponse2 interface and details its syntax, methods, derived classes, inheritance hierarchy, and requirements. |
| ms.date | 10/07/2016 |
| ms.assetid | 926ab657-fabb-4523-8f1e-c372f6871f8a |
Provides an interface for flushing data and writing entity data chunks for asynchronous operations.
class IHttpResponse2 : public IHttpResponse The following table lists the methods exposed by the IHttpResponse2 interface.
| Name | Description |
|---|---|
| Flush | Sends all currently buffered output of an asynchronous operation to the client. |
| WriteEntityChunks | Appends one or more HTTP_DATA_CHUNK structures to the response body for an asynchronous operation. |
This interface contains no derived classes.
IHttpResponse2
| Type | Description |
|---|---|
| Client | - IIS 7.0 on [!INCLUDEwinvista] - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on [!INCLUDEwinsrv2008] - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100] |
| Header | Httpserv.h |