RequestBuilder
RequestBuilder(TestServer, String)
TestServer
AddHeader(String, String)
And(Action<HttpRequestMessage>)
GetAsync()
PostAsync()
SendAsync(String)
net10.0
namespace Microsoft.AspNetCore.TestHost
{
public class RequestBuilder
{
public RequestBuilder(TestServer! server, string! path);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.TestHost , Version=10.0.2.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.TestHost (10.0.2) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API