IRequest Interface |
Namespace: VirtualRadar.Interface.WebServer
The IRequest type exposes the following members.
Name | Description | |
---|---|---|
ContentLength64 |
Gets the number of bytes of the content exposed by InputStream.
| |
Cookies |
Gets the cookies on the request.
| |
CorsOrigin |
Gets the CORS origin.
| |
FormValues |
Gets the values sent in the body of a POST request.
| |
Headers |
Gets a collection of the headers that were sent with the request.
| |
HttpMethod |
Gets the HTTP method used in the request.
| |
InputStream |
Gets a stream that exposes the body of post requests.
| |
IsLocal |
Gets a value indicating that the request came from the local computer.
| |
IsValidCorsRequest |
Gets or sets a value indicating that the web site has detected a valid CORS request and wants the response to
include the correct headers if the request is successful.
| |
LocalEndPoint |
Gets the address that the Internet request was sent to.
| |
MaximumPostBodySize |
Gets or sets the maximum post body size.
| |
RawUrl |
Gets the URL from the root of the site.
| |
RemoteEndPoint |
Gets the address that the Internet request originated from.
| |
Url |
Gets the URL of the request.
| |
UserAgent |
Gets the user-agent as reported by the client browser.
| |
UserHostName |
Gets the user hostname, the hostname that the browser originally requested. For requests coming through
port forwarding this will be the address that the browser requested and not necessarily the true address
of the site.
|
Name | Description | |
---|---|---|
ReadBodyAsString |
Returns the body as a single string.
|