更新时间:2022-03-29 22:05:49
std库中的http2实现未公开特定于http2的接口,但是您可以使用
The http2 implementation in the std library doesn't expose http2-specific interfaces, however you can use golang.org/x/net/http2 directly.
https://godoc.org/golang.org/x/net/http2#Framer.WritePushPromise