Commit c45c5cf
DevSupportHttpClient uses OkHttpClientProvider (#55886)
Summary:
Pull Request resolved: #55886
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: D95058926
fbshipit-source-id: d82c9ce89e46130683fcb9492f4d36a302e081c91 parent 8487b6d commit c45c5cf
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