createHttpClient method
Returns a new HttpClient using the given context.
When this override is installed, this function overrides the behavior of
new HttpClient.
Implementation
@override
HttpClient createHttpClient(SecurityContext? context) {
print('[AutoInjector] InterceptingHttpOverrides.createHttpClient() called with context: ${context != null}');
final client = super.createHttpClient(context);
print('[AutoInjector] Base client from super: ${client.runtimeType}');
final wrapped = _InterceptingHttpClient(client);
print('[AutoInjector] Returning _InterceptingHttpClient: ${wrapped.runtimeType}');
return wrapped;
}