Click or drag to resize
IResponse Methods

The IResponse type exposes the following members.

Methods
  NameDescription
Public methodAbort
Aborts the response without sending the content to the browser.
Public methodAddHeader
Adds a header to the response. If the header already exists then its value is overwritten.
Public methodClose
Closes the response, sending the content to the browser.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEnableCompression
Switches compression of the response, but only if the request indicates that the server supports a compression encoding that we can support.
Public methodRedirect
Instructs the web server to redirect the browser to another URL. This sets StatusCode to an appropriate value but does not close OutputStream.
Public methodSetCookie
Sets or updates a cookie in the collection of cookies to return to the caller.
Top
See Also