HTTP2
Hertz supports both h2 and h2c. It uses net/http2 implementation for reference.
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: Example
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
.
Hertz references net/http2 to implement support for HTTP2, while also supporting both h2 and h2c.
Hertz reference quic-go to implement support for HTTP3.
Hertz supports SSE, allowing the server to send events to the client through simple HTTP response.
Hertz supports both h2 and h2c. It uses net/http2 implementation for reference.
Hertz-HTTP3 implementation based quic-go.
Hertz implements support for WebSocket based on hijack.
Hertz supports TLS secure transmission, helping users achieve data confidentiality and integrity.
Hertz supports SSE, allowing the server to send events to the client through simple HTTP response.