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.
  • 相关阅读:
    SCCM 2007 部署软件更新
    WPF开发工具
    体验Windows Live Writer写Blog
    图像的灰度和黑白处理算法
    很有用的Sql总结转载
    WPF 体验导航窗口
    WPF 一周练
    WPF 图表
    也说Linq 分组
    WPF 体验对话框调用
  • 原文地址:https://www.cnblogs.com/malaikuangren/p/2433595.html
Copyright © 2011-2022 走看看