H2NotSupportedCallback typedef
H2NotSupportedCallback =
Future<ResponseBody> Function(RequestOptions options, Stream<Uint8List> ? requestStream, Future<void> ? cancelFuture, DioH2NotSupportedException exception)
The signature of Http2Adapter.onNotSupported.
Implementation
typedef H2NotSupportedCallback = Future<ResponseBody> Function(
RequestOptions options,
Stream<Uint8List>? requestStream,
Future<void>? cancelFuture,
DioH2NotSupportedException exception,
);