ClassAspNetRequest
Class
Represents an Asp.Net Request
Definition
Namespace:ArtOfTest.WebAii.WebServers.AspNetHost
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class AspNetRequest
Inheritance: objectAspNetRequest
Constructors
AspNetRequest(string)
Create a new request
Declaration
cs-api-definition
public AspNetRequest(string requestPath)
Parameters
requestPath
The request path.
AspNetRequest(string, string, string, string, List<KeyValuePair<string, string>>, byte[])
Create a new request
Declaration
cs-api-definition
public AspNetRequest(string requestFilePath, string requestPathInfo, string requestQueryString, string requestMethod, List<KeyValuePair<string, string>> requestHeaders, byte[] requestBody)
Parameters
requestFilePath
Full request url.
requestPathInfo
requestQueryString
requestMethod
requestHeaders
List<KeyValuePair<string, string>>
requestBody
byte[]
Properties
Body
Gets the body.
FilePath
Gets the file path portion only of the request without any query strings.
FullRequestUrl
Gets the full request url as passed in to this request object.
Headers
Gets the headers.
Declaration
cs-api-definition
public List<KeyValuePair<string, string>> Headers { get; }
Property Value
Method
Gets the request method
PathInfo
Gets the Path info.
QueryString
Gets the query string.