一个更好的C ++ HTTP客户端库 [英] A better C++ HTTP client library

查看:138
本文介绍了一个更好的C ++ HTTP客户端库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻找更好的C ++ HTTP客户端库,我们愿意为此付费。

We are looking for a better C++ HTTP client library, and we're willing to pay for it.

我们想要的产品需要静态链接,并在这些平台上工作:

Windows XP,Vista,7

OS X 10.4,10.5和10.6

The product we want needs to be a statically linked, and to work on these platforms:
Windows XP, Vista, 7
OS X 10.4, 10.5, and 10.6

我们希望它能够很好地完成以下任务:

1.发出HTTP GET和POST请求

2.自动处理元刷新和http重定向响应

3.自动使用Internet选项,ProxyCfg或preferences.plist中的代理设置(如果存在)

4.(可选)使用用户提供的代理设置

5。如果需要,有效地提供http和代理身份验证处理

6.实现代理自动配置和WPAD

We want it to do the following tasks really well:
1. Make HTTP GET and POST requests
2. Handle meta refresh and http redirection responses automatically
3. Automatically use proxy settings from 'Internet Options', 'ProxyCfg', or 'preferences.plist', if present
4. Optionally utilize user-supplied proxy settings
5. Efficiently provide http and proxy authentication handling if required
6. Implement proxy auto-config and WPAD

有一些免费库提供了一些这些要求:boost.asio,curl,winhttp,Qt / wxWidgets,udrl,终极tcp / ip,但我们还没有找到任何满足我们所有要求的东西。我们目前使用libcurl来完成我们当前产品中的大部分内容,但我们不是网络程序员,我们希望用专家编写的更好的解决方案替换我们的代码。

There are a few free libraries that provide some of these requirements: boost.asio, curl, winhttp, Qt/wxWidgets, udrl, ultimate tcp/ip, but we haven't found any that satisfy all our requirements. We currently use libcurl to do much of this stuff in our current product, but we're not network programmers, and we'd like to replace our code with a better solution written by experts.

是否有满足我们需求的商业产品?

Is there a commercial product that would fill our needs?

此外,如果有产品提供过滤器识别功能,那将是非常好的HTTP响应。这将非常酷,它将使我们不必编写一堆用于过滤器检测的解析代码。我们已经检测到一些流行的过滤器,如Websense,DeepNines,LightSpeed,Network Composer,Dans Guardian,SonicWALL,Privoxy,Bsecure和SmartFilter。但是如果其他人为我们做了更好,更完整和更新的话会很棒。

Also, it would be really nice if there were a product that provided filter-recognition capability for HTTP responses. This would be really cool, and it would save us from having to write up a bunch of parsing code for filter detection. We already detect a few popular filters such as Websense, DeepNines, LightSpeed, Network Composer, Dans Guardian, SonicWALL, Privoxy, Bsecure, and SmartFilter. But it would be great if someone else did it for us, more completely and more up-to-date.

有没有人听说过这样的产品?

Has anyone heard of such a product?

推荐答案

你看过 NEON ?它几乎包含了你需要的一切。

Have you looked at NEON? It has pretty much everything you need.

我知道它不是 C ++ 特定的,但它是 C 所以你可以将它非常容易地集成到 C ++ 项目中。

I know it's not C++ specific, but it's C so you could integrate it very easily in your C++ project.

这篇关于一个更好的C ++ HTTP客户端库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆