getsentry / getsentry/sentry-dart

Intercept HTTP requests which are made by dart:io `HttpClient`

Open
#539 2 comments 4 reactions 0 assignees View on GitHub
Flutter Improvement performance Spans
Dominant language
Dart
Stars
873
Forks
299
Avg merge
2d 7h
Merged PRs (30d)
30

Description

[This API](https://api.flutter.dev/flutter/dart-io/HttpOverrides-class.html) might be a good starting point.

Sometimes Flutter makes HTTP requests itself. For example, for the [network image widget](https://api.flutter.dev/flutter/widgets/Image/Image.network.html). This would allow to track them.

A few gotchas: The requests from the SDK itself are maybe tracked, too. Also if it's used with http/dio integrations, there may be duplicated trackings because http and dio use dart:ios HttpClient

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.