HttpListenerResponse Methods

 

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAbort()

Closes the connection to the client without sending a response.

System_CAPS_pubmethodAddHeader(String, String)

Adds the specified header and value to the HTTP headers for this response.

System_CAPS_pubmethodAppendCookie(Cookie)

Adds the specified Cookie to the collection of cookies for this response.

System_CAPS_pubmethodAppendHeader(String, String)

Appends a value to the specified HTTP header to be sent with this response.

System_CAPS_pubmethodClose()

Sends the response to the client and releases the resources held by this HttpListenerResponse instance.

System_CAPS_pubmethodClose(Byte[], Boolean)

Returns the specified byte array to the client and releases the resources held by this HttpListenerResponse instance.

System_CAPS_pubmethodCopyFrom(HttpListenerResponse)

Copies properties from the specified HttpListenerResponse to this response.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRedirect(String)

Configures the response to redirect the client to the specified URL.

System_CAPS_pubmethodSetCookie(Cookie)

Adds or updates a Cookie in the collection of cookies sent with this response.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

This API supports the product infrastructure and is not intended to be used directly from your code. Releases all resources used by the HttpListenerResponse.

Return to top
Show: