C中的HTTP堆栈 [英] HTTP stack in C

查看:109
本文介绍了C中的HTTP堆栈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否在C中实现了任何HTTP协议栈?

Are there any HTTP protocol stacks implemented in C?

提前致谢。

更新:寻找对于客户端实现。

Update: looking for client implementations.

推荐答案

你没有说你是在寻找客户端还是服务器,但是快速谷歌出现了 libmicrohttp ,用于在您的应用中嵌入HTTP服务器,当然还有 libcurl 用于客户端的东西。

You didn't say whether you're looking for client or server, but a quick google turned up libmicrohttp for embedding an HTTP server in your app, and of course libcurl for client-side stuff.

编辑在回答您的更新时,肯定是libcurl就是答案。我过去曾经使用它,它可以在一个相当易于使用的界面下找到你想象的所有功能。

Edit In answer to your update, definitely libcurl is the answer. I've used it in the past and it's got about every feature you can imagine underneath a fairly easy-to-use interface.

这篇关于C中的HTTP堆栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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