Commit 087c05b
DevSupportHttpClient uses OkHttpClientProvider (facebook#55886)
Summary:
Instead of creating an independent OkHttpClient, derive from
OkHttpClientProvider.getOkHttpClient() so that all dev support
connections share the same connection pool and dispatcher with
the rest of React Native networking.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D950589261 parent 4c85df7 commit 087c05b
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments