Hertz Server & Client currently only supports TLS for the standard network library, and the support for the Netpoll network library is still on the way. Usage Reference: Hertz Example and Hertz Config
ALPN can be switched on or off with a switch after TLS is enabled.(depending on whether all required protocol Servers are currently registered via Protocol Suite)
Hertz implements support for WebSocket based on hijack
.
HTTP2 is already in use in internal production environments, so please look forward to hearing from us. Please feel free to raise an issue if you need it.