Protocol

Hertz supported protocols.

TLS

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

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).

WebSocket

Hertz implements support for WebSocket based on hijack.

HTTP2

Hertz references net/http2 to implement support for HTTP2, while also supporting both h2 and h2c.

HTTP3

Hertz reference quic-go to implement support for HTTP3.

SSE

Hertz supports SSE, allowing the server to send events to the client through simple HTTP response.


HTTP2

Hertz supports both h2 and h2c. It uses net/http2 implementation for reference.

HTTP3

Hertz-HTTP3 implementation based quic-go.

Websocket

Hertz implements support for WebSocket based on hijack.

TLS

Hertz supports TLS secure transmission, helping users achieve data confidentiality and integrity.

SSE

Hertz supports SSE, allowing the server to send events to the client through simple HTTP response.


Last modified March 19, 2024 : chore: slack to discord (#1044) (4c2f994)