httpConnectionFactory property

HttpConnectionFactory? httpConnectionFactory
final

The app's own dart:io HttpClient connection factory, when it has one.

Only relevant with instrumentations.http. HttpClient.connectionFactory is set-only, so a factory installed by a prior HttpOverrides cannot be read back and preserved — supplying it here composes it with connect timing instead of having it replaced, keeping custom pooling / proxying / mTLS intact. The dns phase is then unavailable (the lookup happens inside the factory); the combined connect phase is still recorded.

Not needed when the app sets its factory on the HttpClient the SDK hands out — that path is composed automatically.

Implementation

final HttpConnectionFactory? httpConnectionFactory;