IRequest Interface |
Namespace: CMS.Base.Internal
public interface IRequest
The IRequest type exposes the following members.
Name | Description | |
---|---|---|
AppRelativeCurrentExecutionFilePath |
The portion of the request path that identifies the requested resource.
| |
Cookies |
Gets the collection of cookies that were sent by the client.
| |
Form |
Gets the form collection.
| |
Headers |
Gets the collection of HTTP headers that were sent by the client.
| |
HttpMethod |
Gets the HTTP data-transfer method (such as GET, POST, or HEAD) that was used by the client.
| |
InputStream |
Gets the contents of the incoming HTTP entity body.
| |
IsSecureConnection |
Gets a value that indicates whether the HTTP connection uses secure sockets (HTTPS protocol).
| |
QueryString |
Gets the collection of HTTP query-string variables.
| |
RawUrl |
The raw URL of the current request.
| |
RequestContext |
Gets the information about an HTTP request that matches a defined route.
| |
Url |
Gets information about the URL of the current request.
| |
UrlReferrer |
Gets information about the URL of the client request that linked to the current URL.
| |
UserAgent |
Gets the complete user-agent string of the client.
| |
UserHostAddress |
Gets the IP host address of the client.
| |
UserLanguages |
Gets a sorted array of client language preferences.
|
Name | Description | |
---|---|---|
GetServerVariableHttpOriginalUrl |
Returns a value of a server variable 'HTTP_X_ORIGINAL_URL'.
| |
ReadRequestBodyAsString |
Reads the body of the request and returns text representation of it.
Then sets position of the request stream back to start.
| |
ReadRequestBodyAsStringAsync |
Reads the body of the request asynchronously and returns text representation of it.
Then sets position of the request stream back to start.
|
Name | Description | |
---|---|---|
GetEffectiveUrl | (Defined by HttpRequestExtensions.) |