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://www.codercto.com/soft/d/783.html

Coming of Age in Second Life

Coming of Age in Second Life

Tom Boellstorff / Princeton University Press / 2008-04-21 / USD 29.95

The gap between the virtual and the physical, and its effect on the ideas of personhood and relationships, is the most interesting aspect of Boellstorff's analysis... Boellstorff's portrayal of a virt......一起来看看 《Coming of Age in Second Life》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器