1 write to _req
Microsoft.AspNetCore.TestHost (1)
RequestBuilder.cs (1)
23_req = new HttpRequestMessage(HttpMethod.Get, path);
11 references to _req
Microsoft.AspNetCore.TestHost (11)
RequestBuilder.cs (11)
40configure(_req); 52if (!_req.Headers.TryAddWithoutValidation(name, value)) 54if (_req.Content == null) 56_req.Content = new StreamContent(Stream.Null); 58if (!_req.Content.Headers.TryAddWithoutValidation(name, value)) 74_req.Method = new HttpMethod(method); 75return TestServer.CreateClient().SendAsync(_req); 84_req.Method = HttpMethod.Get; 85return TestServer.CreateClient().SendAsync(_req); 94_req.Method = HttpMethod.Post; 95return TestServer.CreateClient().SendAsync(_req);