Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuovi committed Mar 2, 2023
1 parent 43877b4 commit 344a25c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,8 @@ var flushall = memcached.FulshAll();

# XiaoFeng.HttpHelper 网络请求库

HttpHelper 是Http模拟请求库。
HttpHelper 是Http模拟请求库。提供了三种内核,HttpClient,HttpWebRequest,HttpSocket
默认用的是HttpClient内核

## 使用操作

Expand All @@ -715,6 +716,7 @@ HttpHelper 是Http模拟请求库。
var result = await XiaoFeng.Http.HttpHelper.GetHtmlAsync(new XiaoFeng.Http.HttpRequest
{
Method = HttpMethod.Get,//不设置默认为Get请求
HttpCore = HttpCore.HttpClient,
Address = "http://www.fayelf.com"
});
if (result.StatusCode == System.Net.HttpStatusCode.OK)
Expand Down

0 comments on commit 344a25c

Please sign in to comment.