You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would make it clearer that the value returned is based on some sort of transport level version negotiation, whether ALPN, HTTP 1.1 upgrade, etc...
The text was updated successfully, but these errors were encountered:
My initial gut when seeing HttpConnection::version is that it would return the HTTP version in flight... via some sort of sniffing. So, if an HTTP 1.1 head is sent, the value returned from HttpConnection::version would be 1.1.
@carllerche I personally perfer version with docs that explain this is the negotiated version but if it makes more sense that way then im fine with it.
This would make it clearer that the value returned is based on some sort of transport level version negotiation, whether ALPN, HTTP 1.1 upgrade, etc...
The text was updated successfully, but these errors were encountered: