Dela via


ResponseExtensions Class

Definition

Extension methods for HttpResponse.

public ref class ResponseExtensions abstract sealed
public static class ResponseExtensions
type ResponseExtensions = class
Public Module ResponseExtensions
Inheritance
ResponseExtensions

Methods

Clear(HttpResponse)

Clears the HTTP response.

This invocation resets the response headers, response status code, and response body.

Redirect(HttpResponse, String, Boolean, Boolean)

Returns a redirect response (HTTP 301, HTTP 302, HTTP 307 or HTTP 308) to the client.

Applies to