Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProgressiveStringDecoder #44027

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -3425,11 +3425,11 @@ public abstract interface class com/facebook/react/modules/network/CustomClientB
public abstract fun apply (Lokhttp3/OkHttpClient$Builder;)V
}

public class com/facebook/react/modules/network/ForwardingCookieHandler : java/net/CookieHandler {
public final class com/facebook/react/modules/network/ForwardingCookieHandler : java/net/CookieHandler {
public fun <init> (Lcom/facebook/react/bridge/ReactContext;)V
public fun addCookies (Ljava/lang/String;Ljava/util/List;)V
public fun clearCookies (Lcom/facebook/react/bridge/Callback;)V
public fun destroy ()V
public final fun addCookies (Ljava/lang/String;Ljava/util/List;)V
public final fun clearCookies (Lcom/facebook/react/bridge/Callback;)V
public final fun destroy ()V
public fun get (Ljava/net/URI;Ljava/util/Map;)Ljava/util/Map;
public fun put (Ljava/net/URI;Ljava/util/Map;)V
}
Expand Down Expand Up @@ -3482,15 +3482,15 @@ public abstract interface class com/facebook/react/modules/network/OkHttpClientF
public abstract fun createNewNetworkModuleClient ()Lokhttp3/OkHttpClient;
}

public class com/facebook/react/modules/network/OkHttpClientProvider {
public fun <init> ()V
public static fun createClient ()Lokhttp3/OkHttpClient;
public static fun createClient (Landroid/content/Context;)Lokhttp3/OkHttpClient;
public static fun createClientBuilder ()Lokhttp3/OkHttpClient$Builder;
public static fun createClientBuilder (Landroid/content/Context;)Lokhttp3/OkHttpClient$Builder;
public static fun createClientBuilder (Landroid/content/Context;I)Lokhttp3/OkHttpClient$Builder;
public static fun getOkHttpClient ()Lokhttp3/OkHttpClient;
public static fun setOkHttpClientFactory (Lcom/facebook/react/modules/network/OkHttpClientFactory;)V
public final class com/facebook/react/modules/network/OkHttpClientProvider {
public static final field INSTANCE Lcom/facebook/react/modules/network/OkHttpClientProvider;
public static final fun createClient ()Lokhttp3/OkHttpClient;
public static final fun createClient (Landroid/content/Context;)Lokhttp3/OkHttpClient;
public static final fun createClientBuilder ()Lokhttp3/OkHttpClient$Builder;
public static final fun createClientBuilder (Landroid/content/Context;)Lokhttp3/OkHttpClient$Builder;
public static final fun createClientBuilder (Landroid/content/Context;I)Lokhttp3/OkHttpClient$Builder;
public static final fun getOkHttpClient ()Lokhttp3/OkHttpClient;
public static final fun setOkHttpClientFactory (Lcom/facebook/react/modules/network/OkHttpClientFactory;)V
}

public abstract interface class com/facebook/react/modules/network/ProgressListener {
Expand All @@ -3505,7 +3505,7 @@ public class com/facebook/react/modules/network/ProgressResponseBody : okhttp3/R
public fun totalBytesRead ()J
}

public class com/facebook/react/modules/network/ReactCookieJarContainer : com/facebook/react/modules/network/CookieJarContainer {
public final class com/facebook/react/modules/network/ReactCookieJarContainer : com/facebook/react/modules/network/CookieJarContainer {
public fun <init> ()V
public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
public fun removeCookieJar ()V
Expand Down
1 change: 1 addition & 0 deletions packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ dependencies {
testImplementation(libs.junit)
testImplementation(libs.assertj)
testImplementation(libs.mockito)
testImplementation(libs.mockito.kotlin)
testImplementation(libs.robolectric)
testImplementation(libs.thoughtworks)
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.modules.network

import okhttp3.CookieJar

public interface CookieJarContainer : CookieJar {

public fun setCookieJar(cookieJar: CookieJar?)

public fun removeCookieJar()
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.modules.network

import okhttp3.OkHttpClient
import okhttp3.OkHttpClient.Builder

public fun interface CustomClientBuilder {
public fun apply(builder: OkHttpClient.Builder)
}

This file was deleted.

Loading
Loading