http2:fasthttp的HTTP2实现(正在建设中...)

时间:2021-05-22 03:22:51
【文件属性】:
文件名称:http2:fasthttp的HTTP2实现(正在建设中...)
文件大小:49KB
文件格式:ZIP
更新时间:2021-05-22 03:22:51
Go HTTP2 http2是fasthttp的HTTP / 2协议的。 例子 package main import ( "fmt" "log" "github.com/dgrr/http2" "github.com/valyala/fasthttp" ) func main () { cert , priv , err := GenerateTestCertificate ( "localhost:8080" ) if err != nil { log . Fatalln ( err ) } s := & fasthttp. Server { Handler : requestHandler , Name : "http2 test" , } err = s . AppendCertEmbed ( cert , priv ) if err != n
【文件预览】:
http2-master
----frame_test.go(1KB)
----hpack.go(17KB)
----adaptor.go(1KB)
----frame.go(7KB)
----priority.go(2KB)
----utils_test.go(776B)
----server.go(9KB)
----huffman.go(5KB)
----headers.go(3KB)
----continuation.go(2KB)
----old_but_useful_maybe()
--------response.go(2KB)
--------ctx.go(1KB)
--------request.go(3KB)
----SECURITY.md(7KB)
----errors.go(2KB)
----pushpromise.go(1KB)
----http2.go(717B)
----windowupdate.go(1KB)
----strings.go(525B)
----LICENSE(11KB)
----hpack_test.go(18KB)
----headerfield.go(3KB)
----settings.go(7KB)
----huffman_test.go(6KB)
----ping.go(1KB)
----examples()
--------simple()
--------proxy()
----.gitignore(50B)
----goaway.go(2KB)
----fasthttp.go(811B)
----README.md(848B)
----data.go(2KB)
----utils.go(3KB)
----rststream.go(1KB)

网友评论