From 87284d6750ff9ae99b3b75b6cab17c3c86d1a1c3 Mon Sep 17 00:00:00 2001
From: wanggaofeng <15601716045@163.com>
Date: Thu, 1 Feb 2024 11:27:39 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 HttpClientStudy.Core/HttpClientStudy.Core.csproj |  4 ----
 .../HandlerA.cs                                  |  0
 .../HandlerB.cs                                  |  0
 .../HttpRequests/HttpRequestMethods.cs           | 16 ++++++++++++++++
 .../{AdvancedGetTest.cs => GetWithBodyTest.cs}   |  6 +++---
 .../appsettings.Development.json                 |  2 +-
 6 files changed, 20 insertions(+), 8 deletions(-)
 rename HttpClientStudy.Core/{DelegatingHandlers => HttpDelegatingHandlers}/HandlerA.cs (100%)
 rename HttpClientStudy.Core/{DelegatingHandlers => HttpDelegatingHandlers}/HandlerB.cs (100%)
 create mode 100644 HttpClientStudy.Core/HttpRequests/HttpRequestMethods.cs
 rename HttpClientStudy.UnitTest/HttpClients/{AdvancedGetTest.cs => GetWithBodyTest.cs} (98%)

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 @@
     <ProjectReference Include="..\HttpClientStudy.Model\HttpClientStudy.Model.csproj" />
   </ItemGroup>
 
-  <ItemGroup>
-    <Folder Include="RequestContents\" />
-  </ItemGroup>
-
 </Project>
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
+{
+    /// <summary>
+    /// Http请求方法(谓词)
+    /// </summary>
+    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
 {
     /// <summary>
-    /// 高级Get请求 测试
+    /// 带请求体的Get请求 测试
     /// </summary>
-    public class AdvancedGetTest
+    public class GetWithBodyTest
     {
         /// <summary>
         /// 类型化客户端(静态方法)
@@ -31,7 +31,7 @@ namespace HttpClientStudy.UnitTest.HttpClients
         /// <summary>
         /// 构造
         /// </summary>
-        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"
     }
   }
 }