describeNativeTransportAbsence function
Why the native transport is unavailable here.
Phrased as a fact about the platform rather than a fault, because on web it is neither missing nor broken — it does not apply.
Implementation
String describeNativeTransportAbsence(String? path, Object? error) {
return 'The native HTTP transport does not exist on web, and is not needed: '
'the browser negotiates HTTP/2 and HTTP/3 itself and acts on early hints '
'without being asked.';
}