C语言的SPDY开发包 spdylay

码农软件 · 软件分类 · SPDY开发包 · 2019-03-06 21:28:54

软件介绍

spdylay 是 C 语言实现对 SPDY v2/3 协议支持的库

示例代码:

#include <iostream>

#include "spdy.h"

int main()
{
  spdy server;
  if(!server.listen("localhost", 8080, "server.key", "server.crt",
                    [](request& req, response& res) {
                      res.set_status(200);
                      res.set_header("content-type", "text/plain");
                      res.end("C++ FTW\n");
                    }))
    return EXIT_FAILURE;

  std::cout << "Server running at http://localhost:8080/" << std::endl;
  return reactor::run(server);
}

本文地址:https://codercto.com/soft/d/783.html

疯狂的独角兽

疯狂的独角兽

丹·莱昂斯 / 王天任 / 海南出版社 / 2017-10 / 42

★商业与文学的有机结合,真实与虚幻间嬉笑怒骂,幽默风趣、引人入胜、发人深省的商业小说。 ★《纽约时报》《华尔街日报》《旧金山纪事报》Amazon畅销书,《财富》《纽约邮报》《新闻周刊》《华盛顿邮报》、畅销书《硅谷钢铁侠》作者阿什利·万斯、畅销书《一网打尽》作者布拉德·斯通联袂推荐。 ★作者丹·莱昂斯集小说家、记者、编剧为一身——HBO经典热门剧、豆瓣高分美剧《硅谷》作者;畅销书《乔布斯......一起来看看 《疯狂的独角兽》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具