captureNativeFailedRequests property

bool? captureNativeFailedRequests
getter/setter pair

Whether failed HTTP requests are captured by the native iOS/macOS SDK.

This allows controlling native-side HTTP error capturing independently from captureFailedRequests, which controls Dart-side capturing.

When null (the default), falls back to captureFailedRequests.

Implementation

// TODO(major-v10): it's currently nullable for backwards compatibility, make non-nullable by default.
bool? captureNativeFailedRequests;