Udostępnij za pośrednictwem


HttpRequestExtensions Class

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.HttpRequestExtensions

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HttpRequestExtensions
public static class HttpRequestExtensions
[ExtensionAttribute]
public ref class HttpRequestExtensions abstract sealed

The HttpRequestExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetHttpMethodOverride Retrieves the HTTP data-transfer method override that was used by the client.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc Namespace