HttpRequestContext Class
Represents the context associated with a request.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpRequestContext
Syntax
public class HttpRequestContext
public ref class HttpRequestContext
type HttpRequestContext = class end
Public Class HttpRequestContext
Constructors
Name | Description | |
---|---|---|
HttpRequestContext() | Initializes a new instance of the HttpRequestContext class. |
Properties
Name | Description | |
---|---|---|
ClientCertificate | Gets or sets the client certificate. |
|
Configuration | Gets or sets the configuration. |
|
IncludeErrorDetail | Gets or sets a value indicating whether error details, such as exception messages and stack traces, should be included in the response for this request. |
|
IsLocal | Gets or sets a value indicating whether the request originates from a local address. |
|
Principal | .Gets or sets the principal |
|
RouteData | Gets or sets the route data. |
|
Url | Gets or sets the factory used to generate URLs to other APIs. |
|
VirtualPathRoot | Gets or sets the virtual path root. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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
System.Web.Http.Controllers Namespace
Return to top