Definition
Assembly: System.Web.Http.dll Namespace: System.Web.HttpSyntax
Summary
This type is defined in System.Web.Http.Remarks
See Microsoft documentation for more information about the rest of the API.Methods
GetTestableHttpClient Extension
Extension method from
System.Web.Http.Breakdance_WebApi_HttpConfigurationExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
config | System.Web.Http.HttpConfiguration | The HttpConfiguration to use with the internal HttpServer. |
Returns
Type:System.Net.Http.HttpClient
An HttpClient whose configuration is bonded to an HttpServer so developers don’t have to manually configure all of the elements required to
successfully test the API.
GetTestableHttpServer Extension
Extension method from
System.Web.Http.Breakdance_WebApi_HttpConfigurationExtensionsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
config | System.Web.Http.HttpConfiguration | - |
Returns
Type:System.Web.Http.HttpServer
A new HttpServer instance whose InnerHandler allows for automatic HTTP redirects.