WebApplicationFactory<TEntryPoint>.ConfigureClient(HttpClient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures HttpClient instances created by this WebApplicationFactory<TEntryPoint>.
protected:
virtual void ConfigureClient(System::Net::Http::HttpClient ^ client);
protected virtual void ConfigureClient (System.Net.Http.HttpClient client);
abstract member ConfigureClient : System.Net.Http.HttpClient -> unit
override this.ConfigureClient : System.Net.Http.HttpClient -> unit
Protected Overridable Sub ConfigureClient (client As HttpClient)
Parameters
- client
- HttpClient
The HttpClient instance getting configured.