Skip to content

Commit

Permalink
Convert WebSocketModule to Kotlin (#47491)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #47491

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D65502519

fbshipit-source-id: fa75416a27f809701837e8e1b96d7fe3a1ea040a
  • Loading branch information
Thomas Nardone authored and facebook-github-bot committed Dec 6, 2024
1 parent acecf99 commit f15fe4b
Show file tree
Hide file tree
Showing 3 changed files with 406 additions and 423 deletions.
12 changes: 9 additions & 3 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -3621,6 +3621,8 @@ public final class com/facebook/react/modules/toast/ToastModule$Companion {
}

public final class com/facebook/react/modules/websocket/WebSocketModule : com/facebook/fbreact/specs/NativeWebSocketModuleSpec {
public static final field Companion Lcom/facebook/react/modules/websocket/WebSocketModule$Companion;
public static final field NAME Ljava/lang/String;
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;)V
public fun addListener (Ljava/lang/String;)V
public fun close (DLjava/lang/String;D)V
Expand All @@ -3630,9 +3632,13 @@ public final class com/facebook/react/modules/websocket/WebSocketModule : com/fa
public fun removeListeners (D)V
public fun send (Ljava/lang/String;D)V
public fun sendBinary (Ljava/lang/String;D)V
public fun sendBinary (Lokio/ByteString;I)V
public fun setContentHandler (ILcom/facebook/react/modules/websocket/WebSocketModule$ContentHandler;)V
public static fun setCustomClientBuilder (Lcom/facebook/react/modules/network/CustomClientBuilder;)V
public final fun sendBinary (Lokio/ByteString;I)V
public final fun setContentHandler (ILcom/facebook/react/modules/websocket/WebSocketModule$ContentHandler;)V
public static final fun setCustomClientBuilder (Lcom/facebook/react/modules/network/CustomClientBuilder;)V
}

public final class com/facebook/react/modules/websocket/WebSocketModule$Companion {
public final fun setCustomClientBuilder (Lcom/facebook/react/modules/network/CustomClientBuilder;)V
}

public abstract interface class com/facebook/react/modules/websocket/WebSocketModule$ContentHandler {
Expand Down
Loading

0 comments on commit f15fe4b

Please sign in to comment.