QGrpcHttp2Channel: make hostUri() round-trip across all transports


sanitizeHostUri() rewrote the 'unix' and 'unix-abstract' schemes to
'http', so hostUri() could not be fed back into a new channel without
silently downgrading the transport to TCP. Keep the original scheme and
derive the HTTP/2 :scheme header from SocketType instead.

Add a hint about the possible modifications for the hostUri() in the
docs.

Amends: 42259e5f6a186ec05b078c02232b6e0ea695c3e8

[ChangeLog][QtGrpc][QGrpcHttp2Channel] hostUri() now preserves the
'unix' and 'unix-abstract' schemes instead of reporting them as 'http'.

Fixes: QTBUG-146913
Pick-to: 6.11 6.8
Change-Id: I4f2fd92369c0b5617355e2013a5b06aae1ae3b08
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit2352d108c4f88281fb5704cedba7cb2fe5e01fb6
parentfb1a50693788b09397abd4bde02cd471f44cc2e6
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeMon, 1 Jun 2026 14:55:32 +0000