Breakdance_WebApi_HttpConfigurationExtensions
Extension methods for making HttpConfiguration a little more test-friendly.Syntax
Inheritance
Methods
GetTestableHttpClient
Parameters
- config
HttpConfiguration: The HttpConfiguration to use with the internal HttpServer.
Returns
HttpClient AnGetTestableHttpServer
Parameters
- config
HttpConfiguration:
Returns
HttpServer
A new HttpServer instance whose InnerHandler allows for automatic HTTP redirects.