Method | Description | |
---|---|---|
GetAppPath ( ) : string |
Returns the virtual path to the currently executing server application.
|
|
GetAppPathTranslated ( ) : string | ||
GetFilePathTranslated ( ) : string | ||
GetHttpVerbName ( ) : string |
Returns the specified member of the request header.
|
|
GetKnownRequestHeader ( int index ) : string | ||
GetLocalPort ( ) : int | ||
GetPreloadedEntityBody ( ) : byte[] |
Reads request data from the client (when not preloaded).
|
|
GetServerName ( ) : string |
Gets the name of the server.
|
|
GetUnknownRequestHeaders ( ) : string[][] |
Get all nonstandard HTTP header name-value pairs.
|
|
GetUriPath ( ) : string | ||
IsEntireEntityBodyIsPreloaded ( ) : bool |
Returns a value indicating whether all request data is available and no further reads from the client are required.
|
|
SimulatedHttpRequest ( string applicationPath, string physicalAppPath, string physicalFilePath, string page, string query, |
Creates a new SimulatedHttpRequest instance.
|
Method | Description | |
---|---|---|
SetReferer ( |
public GetKnownRequestHeader ( int index ) : string | ||
index | int | |
return | string |
public GetUnknownRequestHeaders ( ) : string[][] | ||
return | string[][] |
public IsEntireEntityBodyIsPreloaded ( ) : bool | ||
return | bool |
public SimulatedHttpRequest ( string applicationPath, string physicalAppPath, string physicalFilePath, string page, string query, |
||
applicationPath | string | App virtual dir. |
physicalAppPath | string | Physical Path to the app. |
physicalFilePath | string | Physical Path to the file. |
page | string | The Part of the URL after the application. |
query | string | Query. |
output | Output. | |
host | string | Host. |
port | int | Port to request. |
verb | string | The HTTP Verb to use. |
return | System |