github
13 of 23 new or added lines in 5 files covered. (56.52%)
3 existing lines in 1 file now uncovered.15450 of 18858 relevant lines covered (81.93%)
19.53 hits per line
1 |
namespace Shared.Networking;
|
|
2 |
|
|
3 |
public class PreflightHttpClient : IPreflightHttpClient |
|
4 |
{ |
|
NEW
|
public PreflightHttpClient()
|
× |
NEW
|
{ |
× |
NEW
|
Client = new HttpClient(new HttpClientHandler |
× |
NEW
|
{ |
× |
NEW
|
AllowAutoRedirect = false,
|
× |
NEW
|
}); |
× |
NEW
|
} |
× |
12 |
|
|
|
public PreflightHttpClient(HttpClient client)
|
27✔ |
|
{ |
27✔ |
|
Client = client; |
27✔ |
|
} |
27✔ |
17 |
|
|
18 |
public HttpClient Client { get; }
|
|
19 |
} |