hyper-util
hyper-util copied to clipboard
feat: respect chosen HTTP version in 'serve_connection_with_upgrades'
This allows to use the same builder to configure a server that supports upgrades (e.g. WebSockets) and can either read HTTP version from the incoming stream, or be restricted to a specific HTTP version based on the externally made decision (e.g. ALPN).