1.0.0 • Published 5 years ago

resource-priority-demo v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

http2-server

基于 koa 的简单的 http2 web server,需要用到 http2 的 demo 可以直接用这个。 证书是直接创建的,属于不被信任证书,浏览器会警告,需要手动跳过警告。

安装

npm install -g http2-server

使用

当前目录运行下面的命令,当前目录为 web 服务根目录。

http2-server