HttpContextHelperSetHttpContextWithSimulatedRequest Method |
Sets the HTTP context with a valid simulated request.
Namespace:
Enkoni.Framework.Testing
Assembly:
Enkoni.Framework.Testing (in Enkoni.Framework.Testing.dll) Version: 1.3.0.1
Syntaxpublic static void SetHttpContextWithSimulatedRequest(
string host,
string application
)
Public Shared Sub SetHttpContextWithSimulatedRequest (
host As String,
application As String
)
public:
static void SetHttpContextWithSimulatedRequest(
String^ host,
String^ application
)
static member SetHttpContextWithSimulatedRequest :
host : string *
application : string -> unit
Parameters
- host
- Type: SystemString
The host that must be associated with the session. Normally 'localhost' will suffice. - application
- Type: SystemString
The name of the application that requires the session. Any name will do.
Exceptions
See Also