Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
HttpSimulator ( ) : System | ||
HttpSimulator ( string applicationPath ) : System | ||
HttpSimulator ( string applicationPath, string physicalApplicationPath ) : System | ||
SetFormVariable ( string name, string value ) : |
Sets a form variable.
|
|
SetHeader ( string name, string value ) : |
Sets a header value.
|
|
SetReferer ( |
Sets the referer for the request. Uses a fluent interface.
|
|
SimulateRequest ( ) : |
Sets up the HttpContext objects to simulate a GET request. Simulates a request to http://localhost/ |
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a GET request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a POST request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a POST request.
|
Method | Description | |
---|---|---|
GetHostingEnvironment ( ) : |
||
NormalizeSlashes ( string s ) : string | ||
SimulateRequest ( |
Sets up the HttpContext objects to simulate a request.
|
|
StripPrecedingSlashes ( string s ) : string | ||
StripTrailingBackSlashes ( string s ) : string | ||
StripTrailingSlashes ( string s ) : string |
Method | Description | |
---|---|---|
ExtractQueryStringPart ( |
||
InitializeApplication ( ) : void | ||
InitializeSession ( ) : void | ||
ParseRequestUrl ( |
||
RightAfter ( string original, string search ) : string | ||
SetHttpRuntimeInternals ( ) : void |
protected static GetHostingEnvironment ( ) : |
||
return |
public HttpSimulator ( string applicationPath ) : System | ||
applicationPath | string | |
return | System |
public HttpSimulator ( string applicationPath, string physicalApplicationPath ) : System | ||
applicationPath | string | |
physicalApplicationPath | string | |
return | System |
protected static NormalizeSlashes ( string s ) : string | ||
s | string | |
return | string |
public SetFormVariable ( string name, string value ) : |
||
name | string | |
value | string | |
return |
public SetHeader ( string name, string value ) : |
||
name | string | |
value | string | |
return |
public SetReferer ( |
||
referer | ||
return |
public SimulateRequest ( |
||
url | ||
return |
public SimulateRequest ( |
||
url | ||
httpVerb | HttpVerb | |
return |
public SimulateRequest ( |
||
url | ||
httpVerb | HttpVerb | |
headers | ||
return |
protected SimulateRequest ( |
||
url | ||
httpVerb | HttpVerb | |
formVariables | ||
headers | ||
return |
public SimulateRequest ( |
||
url | ||
formVariables | ||
return |
public SimulateRequest ( |
||
url | ||
formVariables | ||
headers | ||
return |
protected static StripPrecedingSlashes ( string s ) : string | ||
s | string | |
return | string |
protected static StripTrailingBackSlashes ( string s ) : string | ||
s | string | |
return | string |
protected static StripTrailingSlashes ( string s ) : string | ||
s | string | |
return | string |