C++ web httpserver

国外提供参考的c++ http lib or server

C++ REST SDK Alternatives - C++ Networking | LibHunt

众所周知,C++ 并不是一种流行的 Web 开发语言,但随着 Emscripten 的成熟,未来 C++ 在 Web 方面会发挥更大的潜能,尤其是游戏、3D 应用等方面。

有关 C++ Web 相关的框架有不少,下面进行了简单的整理,并按照“Star”的数量进行了排序,希望能对大家有所帮助。

  1. Drogon
    Drogon 是一个基于 C++14/17 的 Http 应用框架,使用 Drogon 可以方便的使用 C++ 构建各种类型的 Web 应用服务端程序。
    Star:8.1k
    GitHub:https://github.com/an-tao/drogon

  2. Proxygen
    Proxygen 是 Facebook 开发的一个 C++ 的 HTTP 库,包含一个易用的 HTTP 服务器。支持 HTTP/1.1、SPDY 3 和 SPDY 3.1,同时也开始在为 HTTP/2 做开发。
    Star:7.7 k
    GitHub:https://github.com/facebook/proxygen

  3. cpprestsdk C++ REST SDK
    C++ REST SDK 是微软发布的一个 C++ 客户端-服务器通信库,该库基于 Modern C++ 异步 API,开发者可以方便地连接并与服务交互。
    Star:7.1k
    主页:https://microsoft.github.io/cpprestsdk/index.html
    GitHub:https://github.com/microsoft/cpprestsdk
    文档:https://github.com/Microsoft/cpprestsdk/wiki

  4. Crow
    Crow 是一个非常快速和易于使用的 C++ 微型 Web 框架(灵感来自于 Python Flask)
    Star:7k
    GitHub:https://github.com/ipkn/crow

  5. Oat++
    Oat++ 是一个纯 C++ 实现的 Web 开发框架,高性能、简单的 API、跨平台、零依赖。
    Star:5.8k
    主页:https://oatpp.io/
    GitHub:https://github.com/oatpp/oatpp
    文档:https://oatpp.io/docs/start/

  6. libhv
    比libevent、libuv更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT client/server.
    Star:4.8k
    https://github.com/ithewei/libhv

  7. Pistache
    Pistache 是一个现代而优雅的 C++ HTTP 和 REST 框架,完全采用纯 C++ 14 编写,并提供了一个清晰、友好的 API。
    Star:2.8k
    主页:http://pistache.io/
    GitHub:https://github.com/oktal/pistache/
    文档:http://pistache.io/guide/

  8. Silicon
    Silicon 是一个高性能、面向中间件的 C++ 14 http Web 框架。
    Star:1.7k
    主页:http://siliconframework.org/
    GitHub:https://github.com/matt-42/silicon/
    文档:http://siliconframework.org/docs/getting_started.html

简单实用:https://github.com/shouxieai/http_server_cpp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

SongpingWang

你的鼓励是我创作的最大动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值