diff --git a/HttpClientStudy.Core/HttpClientStudy.Core.csproj b/HttpClientStudy.Core/HttpClientStudy.Core.csproj index 6061868..17a26c4 100644 --- a/HttpClientStudy.Core/HttpClientStudy.Core.csproj +++ b/HttpClientStudy.Core/HttpClientStudy.Core.csproj @@ -18,8 +18,4 @@ - - - - diff --git a/HttpClientStudy.Core/DelegatingHandlers/HandlerA.cs b/HttpClientStudy.Core/HttpDelegatingHandlers/HandlerA.cs similarity index 100% rename from HttpClientStudy.Core/DelegatingHandlers/HandlerA.cs rename to HttpClientStudy.Core/HttpDelegatingHandlers/HandlerA.cs diff --git a/HttpClientStudy.Core/DelegatingHandlers/HandlerB.cs b/HttpClientStudy.Core/HttpDelegatingHandlers/HandlerB.cs similarity index 100% rename from HttpClientStudy.Core/DelegatingHandlers/HandlerB.cs rename to HttpClientStudy.Core/HttpDelegatingHandlers/HandlerB.cs diff --git a/HttpClientStudy.Core/HttpRequests/HttpRequestMethods.cs b/HttpClientStudy.Core/HttpRequests/HttpRequestMethods.cs new file mode 100644 index 0000000..853ac89 --- /dev/null +++ b/HttpClientStudy.Core/HttpRequests/HttpRequestMethods.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HttpClientStudy.Core.HttpRequests +{ + /// + /// Http请求方法(谓词) + /// + public class HttpRequestMethods + { + + } +} diff --git a/HttpClientStudy.UnitTest/HttpClients/AdvancedGetTest.cs b/HttpClientStudy.UnitTest/HttpClients/GetWithBodyTest.cs similarity index 98% rename from HttpClientStudy.UnitTest/HttpClients/AdvancedGetTest.cs rename to HttpClientStudy.UnitTest/HttpClients/GetWithBodyTest.cs index 959830f..10fe306 100644 --- a/HttpClientStudy.UnitTest/HttpClients/AdvancedGetTest.cs +++ b/HttpClientStudy.UnitTest/HttpClients/GetWithBodyTest.cs @@ -11,9 +11,9 @@ using Newtonsoft.Json; namespace HttpClientStudy.UnitTest.HttpClients { /// - /// 高级Get请求 测试 + /// 带请求体的Get请求 测试 /// - public class AdvancedGetTest + public class GetWithBodyTest { /// /// 类型化客户端(静态方法) @@ -31,7 +31,7 @@ namespace HttpClientStudy.UnitTest.HttpClients /// /// 构造 /// - public AdvancedGetTest(ITestOutputHelper outputHelper) + public GetWithBodyTest(ITestOutputHelper outputHelper) { _logger = outputHelper; } diff --git a/HttpClientStudy.WebApp/appsettings.Development.json b/HttpClientStudy.WebApp/appsettings.Development.json index 0c208ae..3e1a225 100644 --- a/HttpClientStudy.WebApp/appsettings.Development.json +++ b/HttpClientStudy.WebApp/appsettings.Development.json @@ -2,7 +2,7 @@ "Logging": { "LogLevel": { "Default": "Information", - "Microsoft.AspNetCore": "Warning" + "Microsoft.AspNetCore": "Information" } } }