| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
10年前发布

非死book的 C++ HTTP 库:Proxygen

该项目包括</span> 非死book使用</span></span></span></span></span></span></span></span>核心</span> C++抽象HTTP在内部,它被用作</span>构建HTTP服务器,代理服务器和客户端</span></span>的基础库本次发布的重点是常见的HTTP抽象和简单的HttpServer框架。未来版本将提供简单的客户端API该框架支持HTTP/1.1SPDY/3SPDY/3.1 HTTP /2支持正在进行中。我们的目标是提供一个简单高性能以及现代的C++ HTTP库。
非死book的 C++ HTTP 库:Proxygen
</span>

目录结构和内容:

  • proxygen/external/ Contains non-installed 3rd-party code proxygen depends on.
  • proxygen/lib/ Core networking abstractions.
  • proxygen/lib/http/ HTTP specific code.
  • proxygen/lib/services/ Connection management and server code.
  • proxygen/lib/ssl/ TLS abstractions and OpenSSL wrappers.
  • proxygen/lib/utils/ Miscellaneous helper code.
  • proxygen/httpserver/ Contains code wrapping proxygen/lib/ for building simple C++ http servers. We recommend building on top of these APIs.

架构


非死book的 C++ HTTP 库:Proxygen

基础组件是HTTPServer, RequestHandlerFactory, 和 RequestHandler。An HTTPServer takes some configuration and is given aRequestHandlerFactory. Once the server is started, the installedRequestHandlerFactory spawns a RequestHandler for each HTTP request. RequestHandler is a simple interface users of the library implement. Subclasses of RequestHandler should use the inherited protected member ResponseHandler* downstream_ to send the response.

项目主页:http://www.open-open.com/lib/view/home/1415238647480

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1415238647480.html
Proxygen 网络工具包