Skip to content

Commit f15fe4b

Browse files
Thomas Nardonefacebook-github-bot
authored andcommitted
Convert WebSocketModule to Kotlin (#47491)
Summary: Pull Request resolved: #47491 Changelog: [Internal] Reviewed By: javache Differential Revision: D65502519 fbshipit-source-id: fa75416a27f809701837e8e1b96d7fe3a1ea040a
1 parent acecf99 commit f15fe4b

File tree

3 files changed

+406
-423
lines changed

3 files changed

+406
-423
lines changed

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3621,6 +3621,8 @@ public final class com/facebook/react/modules/toast/ToastModule$Companion {
36213621
}
36223622

36233623
public final class com/facebook/react/modules/websocket/WebSocketModule : com/facebook/fbreact/specs/NativeWebSocketModuleSpec {
3624+
public static final field Companion Lcom/facebook/react/modules/websocket/WebSocketModule$Companion;
3625+
public static final field NAME Ljava/lang/String;
36243626
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;)V
36253627
public fun addListener (Ljava/lang/String;)V
36263628
public fun close (DLjava/lang/String;D)V
@@ -3630,9 +3632,13 @@ public final class com/facebook/react/modules/websocket/WebSocketModule : com/fa
36303632
public fun removeListeners (D)V
36313633
public fun send (Ljava/lang/String;D)V
36323634
public fun sendBinary (Ljava/lang/String;D)V
3633-
public fun sendBinary (Lokio/ByteString;I)V
3634-
public fun setContentHandler (ILcom/facebook/react/modules/websocket/WebSocketModule$ContentHandler;)V
3635-
public static fun setCustomClientBuilder (Lcom/facebook/react/modules/network/CustomClientBuilder;)V
3635+
public final fun sendBinary (Lokio/ByteString;I)V
3636+
public final fun setContentHandler (ILcom/facebook/react/modules/websocket/WebSocketModule$ContentHandler;)V
3637+
public static final fun setCustomClientBuilder (Lcom/facebook/react/modules/network/CustomClientBuilder;)V
3638+
}
3639+
3640+
public final class com/facebook/react/modules/websocket/WebSocketModule$Companion {
3641+
public final fun setCustomClientBuilder (Lcom/facebook/react/modules/network/CustomClientBuilder;)V
36363642
}
36373643

36383644
public abstract interface class com/facebook/react/modules/websocket/WebSocketModule$ContentHandler {

0 commit comments

Comments
 (0)