A framework for building native applications using React
WebSocketModule uses OkHttpClientProvider (#55885)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55885 Instead of creating a brand-new OkHttpClient.Builder() per WebSocket connection, derive from OkHttpClientProvider.getOkHttpClient() so that all connections share the same connection pool and dispatcher. Also remove the dispatcher shutdown call, since the dispatcher is now shared with the global OkHttpClient and shutting it down would kill all connections. Changelog: [Internal] Reviewed By: cipolleschi, javache Differential Revision: D95059116 fbshipit-source-id: c8052c11f26a07961bcc8e4428508abeb391541d
N
Nicola Corti committed
8487b6d03b176f85d4970ece00925f808c64a834
Parent: 3f46e5f
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 3/4/2026, 9:24:08 PM