zoukankan      html  css  js  c++  java
  • CSharp HttpClient by CodeScales.com

    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.
  • 相关阅读:
    第十周总结
    冲刺(四)
    冲刺(三)
    冲刺(二)
    冲刺(一)
    生成热词
    c#简单日志类
    WPF 后台代码 实现DynamicResource 绑定赋值
    WPF ListboxItem 双击事件 Command绑定
    mysql的命令行安装,忘记密码,密码重置问题
  • 原文地址:https://www.cnblogs.com/malaikuangren/p/2433595.html
Copyright © 2011-2022 走看看