HttpLib 可以用来简化在 C# 应用中异步的访问 Web 服务的操作。同时包含文件上传和访问网页的方法。

支持:

  • GET
  • POST
    • Form Encoded
    • Multipart File Upload
  • PUT
  • HEAD
  • DELETE

示例代码:

using Redslide.HttpLib;

Request.Get("http://www.oschina.net/",
result=>
{
Console.Write(result);
}); WebSite:http://httplib.codeplex.com/
 
04-15 19:59