main
wanggaofeng 9 months ago
parent f907d5bc6a
commit 2f98ab7c76

@ -11,6 +11,7 @@ namespace HttpClientStudy.Core
/// </summary> /// </summary>
public class SimpleHttpClient public class SimpleHttpClient
{ {
#region Get请求
public string Get(string url) public string Get(string url)
{ {
HttpClient client = new HttpClient(); HttpClient client = new HttpClient();
@ -98,5 +99,6 @@ namespace HttpClientStudy.Core
return result; return result;
} }
#endregion
} }
} }

Loading…
Cancel
Save