golang 1.6 was released with Http2 support. I googled online but couldn't find any examples of how to do Http2 server push using Go. Is there any high level client implemented for that? Is there any examples that people have already done?
High level client for golang http2 server push
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
© 2022 - 2024 — McMap. All rights reserved.
push
the urls of dependencies. These urls will then be handled by your server. A bit like a redirect. – Brussels