docs to redirect a user to dart:io.HttpClientOverrides (#13465)
This commit is contained in:
parent
aedee0df3d
commit
33c66335a8
@ -5,7 +5,10 @@
|
|||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
|
|
||||||
/// Create a new [http.Client] object.
|
/// (Deprecated, use [dart:io.HttpClientOverrides]) Create a new [http.Client] object.
|
||||||
|
///
|
||||||
|
/// We recommend [dart:io.HttpClientOverrides] instead of this function. Flutter
|
||||||
|
/// will soon use [dart:io.HttpClient].
|
||||||
///
|
///
|
||||||
/// This can be set to a new function to override the default logic for creating
|
/// This can be set to a new function to override the default logic for creating
|
||||||
/// HTTP clients, for example so that all logic in the framework that triggers
|
/// HTTP clients, for example so that all logic in the framework that triggers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user