mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Migrate com.facebook.react.modules.network.OkHttpClientFactory to Kotlin (#48945)
Summary: Migrate com.facebook.react.modules.network.OkHttpClientFactory to Kotlin ## Changelog: [INTERNAL] - Migrate com.facebook.react.modules.network.OkHttpClientFactory to Kotlin Pull Request resolved: https://github.com/facebook/react-native/pull/48945 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: cortinico Differential Revision: D68705783 Pulled By: arushikesarwani94 fbshipit-source-id: 9c2cc2927eae50d0dce91384bf945a8c795c0bbd
This commit is contained in:
1 parent
1257122a02
commit
53d94c3abe
1 file changed
+4
-5
+4
-5
@@ -5,11 +5,10 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.modules.network;
|
||||
package com.facebook.react.modules.network
|
||||
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.OkHttpClient
|
||||
|
||||
public interface OkHttpClientFactory {
|
||||
OkHttpClient createNewNetworkModuleClient();
|
||||
public fun interface OkHttpClientFactory {
|
||||
public fun createNewNetworkModuleClient(): OkHttpClient
|
||||
}
|
||||
;
|
||||
Reference in new issue
Block a user