WebApplicationFactory<TEntryPoint>.ConfigureClient(HttpClient) Metoda

Definice

Konfiguruje HttpClient instance vytvořené tímto WebApplicationFactory<TEntryPoint>objektem .

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)

Parametry

client
HttpClient

Instance se HttpClient konfiguruje.

Platí pro