IResponse Methods |
The IResponse type exposes the following members.
Name | Description | |
---|---|---|
![]() | Abort |
Aborts the response without sending the content to the browser.
|
![]() | AddHeader |
Adds a header to the response. If the header already exists then its value is overwritten.
|
![]() | Close |
Closes the response, sending the content to the browser.
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | EnableCompression |
Switches compression of the response, but only if the request indicates that the server supports a
compression encoding that we can support.
|
![]() | Redirect |
Instructs the web server to redirect the browser to another URL. This sets StatusCode
to an appropriate value but does not close OutputStream.
|
![]() | SetCookie |
Sets or updates a cookie in the collection of cookies to return to the caller.
|