I have problem with canceling requests.
final cancelToken = CancelToken();
final request = host.request(path,
data: data,
queryParameters: query,
options: Options(method: describeEnum(method)),
cancelToken: cancelToken);
final cancelableRequest = CancelableOperation.fromFuture(request, onCancel: () {
cancelToken.cancel();
});
When cancelToken.cancel(); is called I receive DioErrorType.CANCEL but request is not canceled (checked in Charles web proxy). I have tried throttling request but it always waits for response.

All this requests should be canceled.
I have problem with canceling requests.
When
cancelToken.cancel();is called I receiveDioErrorType.CANCELbut request is not canceled (checked in Charles web proxy). I have tried throttling request but it always waits for response.All this requests should be canceled.