Click or drag to resize

HttpListenerResponse Methods

The HttpListenerResponse type exposes the following members.

Methods
  NameDescription
Public methodAbort
Closes the connection to the client without returning a response.
Public methodAddHeader
Adds an HTTP header with the specified name and value to the headers for the response.
Public methodAppendCookie
Appends the specified cookie to the cookies sent with the response.
Public methodAppendHeader
Appends a value to the specified HTTP header sent with the response.
Public methodClose
Returns the response to the client and releases the resources used by this HttpListenerResponse instance.
Public methodClose(Byte, Boolean)
Returns the response with the specified array of Byte to the client and releases the resources used by this HttpListenerResponse instance.
Public methodCopyFrom
Copies some properties from the specified HttpListenerResponse to this response.
Public methodRedirect
Configures the response to redirect the client's request to the specified url.
Public methodSetCookie
Adds or updates a cookie in the cookies sent with the response.
Top
Extension Methods
  NameDescription
Public Extension MethodWriteContent
Writes and sends the specified content data with the specified HttpListenerResponse.
(Defined by Ext.)
Top
See Also