Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react-native): restrict the list of options for the WebSocket object
Only 'headers' and 'localAddress' options are supported by the WebSocket implementation in React Native. The following message was printed to the console: > Unrecognized WebSocket connection option(s) `agent`, `perMessageDeflate`, `pfx`, `key`, `passphrase`, `cert`, `ca`, `ciphers`, `rejectUnauthorized`. Did you mean to put these under `headers`? Reference: https://reactnative.dev/docs/network.html#websocket-support Backported from master: 2f5c948
- Loading branch information