CSharp HttpClient by CodeScales.com

來源:互聯網
上載者:User

An HTTP client library with a very simple API, written in CSharp (.Net 2.0) for sending HTTP requests and receiving HTTP responses. 
This library is much simpler to use than the HttpWebRequest provided with the .Net library. 

This library was inspired by the JAVA HttpClient library, and has a very similar API. 

You are encouraged to visit the project's web site athttp://www.codescales.com for code examples and documentation.What can you do with it?
  1. Send GET requests.
  2. Send POST requests with parameters, using Url-Encoded Entity.
  3. Upload Files to an HTTP server, using a Multipart Entity.
  4. Send Post request with parameters, using Multipart Entity (which is actually the same as #3).
  5. Control the redirect behavior of the client, using HttpBehavior.
  6. Use as many parallel connections (sockets) as you need, using the default HttpConnectionFactory.
  7. Use a proxy server that does not need a password.
Current Status

This is a preliminary version. Some basic functionality is missing. See the limitations section for details. 

It is still work in progress, and you are welcome to write me if you want to help at yaron@codescales.com. 

Limitations

This is a list of things that are NOT supported yet:

  • Transfer-Encoding: gzip
  • Requests with keep-alive header.
  • Expiration of cookies.
  • Using proxies that need password.
  • HTTPS and SSL.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.