Table of Contents

Class HttpRequestExtensions

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Extends the System.Web.HttpRequestBase class that contains the HTTP values that were sent by a client during a Web request.

public static class HttpRequestExtensions
Inheritance
HttpRequestExtensions
Inherited Members

Methods

GetHttpMethodOverride(HttpRequestBase)

Retrieves the HTTP data-transfer method override that was used by the client.

public static string GetHttpMethodOverride(this HttpRequestBase request)

Parameters

request HttpRequestBase

An object that contains the HTTP values that were sent by a client during a Web request.

Returns

string

The HTTP data-transfer method override that was used by the client.

Exceptions

ArgumentNullException

The request parameter is null.

NotImplementedException

The HTTP data-transfer method override was not implemented.