다음을 통해 공유


WebApplicationFactory<TEntryPoint>.CreateClient 메서드

정의

오버로드

CreateClient()

리디렉션을 자동으로 따르고 쿠키를 처리하는 의 HttpClient instance 만듭니다.

CreateClient(WebApplicationFactoryClientOptions)

리디렉션을 자동으로 따르고 쿠키를 처리하는 의 HttpClient instance 만듭니다.

CreateClient()

Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs

리디렉션을 자동으로 따르고 쿠키를 처리하는 의 HttpClient instance 만듭니다.

public:
 System::Net::Http::HttpClient ^ CreateClient();
public System.Net.Http.HttpClient CreateClient ();
member this.CreateClient : unit -> System.Net.Http.HttpClient
Public Function CreateClient () As HttpClient

반환

HttpClient

적용 대상

CreateClient(WebApplicationFactoryClientOptions)

Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs
Source:
WebApplicationFactory.cs

리디렉션을 자동으로 따르고 쿠키를 처리하는 의 HttpClient instance 만듭니다.

public:
 System::Net::Http::HttpClient ^ CreateClient(Microsoft::AspNetCore::Mvc::Testing::WebApplicationFactoryClientOptions ^ options);
public System.Net.Http.HttpClient CreateClient (Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryClientOptions options);
member this.CreateClient : Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryClientOptions -> System.Net.Http.HttpClient
Public Function CreateClient (options As WebApplicationFactoryClientOptions) As HttpClient

매개 변수

반환

HttpClient

적용 대상