Appearance
IRequestContext Interface
Definition
Encapsulates information about an HTTP Request
- Namespace:
JASE.Web - Assembly:
JASE.Web.dll
Properties
| Name | Description |
|---|---|
ActionCount | Count of active Actions |
HttpContext | Access to the current HttpContext |
HttpMethod | The HTTP Verb |
IsMockHttpContext | TRUE if the HttpContext is mocked due to not being injected/provided |
IsSystem | Returns true if running in a System context |
RequestHeaders | Read only instance of the HTTP Request Headers |
RequestIP | The IP address of the HTTP Request |
RequestUid | Unique identifier of the RequestContect object |
RouteInfo | Route Information detected from URL path request |
Url | The URL Requested by the HTTP Request |
Methods
| Name | Description |
|---|---|
long ActionCountDecrement() | Decrement the current MVC Action counter |
long ActionCountIncrement() | Increment the current MVC Action counter |
string ReadRequestBody() | Returns current Request body as a string |