ResponseExtensions Class
Defines extension methods for the HttpResponseBase base class.
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
The ResponseExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | OutputCache | Configures the cache policy of an HTTP response instance. |
![]() ![]() | SetStatus(HttpResponseBase, Int32) | Sets the HTTP status code of an HTTP response using the specified integer value. |
![]() ![]() | SetStatus(HttpResponseBase, HttpStatusCode) | Sets the HTTP status code of an HTTP response using the specified HTTP status code enumeration value. |
![]() ![]() | WriteBinary(HttpResponseBase, Byte[]) | Writes a sequence of bytes that represent binary content of an unspecified type to the output stream of an HTTP response. |
![]() ![]() | WriteBinary(HttpResponseBase, Byte[], String) | Writes a sequence of bytes that represent binary content of the specified MIME type to the output stream of an HTTP response. |
Show:
