react-native-macos/Libraries/WebSocket
bill2004158 fd85b84a86 Update RCTSRWebSocket.m (#29419)
Summary:
Only add Sec-WebSocket-Protocol header if has _requestedProtocols.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - when Sec-WebSocket-Protocol header is empty vaulue, IIS server will return error 502.

Pull Request resolved: https://github.com/facebook/react-native/pull/29419

Reviewed By: cpojer

Differential Revision: D22782867

Pulled By: PeteTheHeat

fbshipit-source-id: d588997a345929b0c11c554d4452e612a336901a
2020-07-28 11:10:14 -07:00
..
__mocks__ Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
__tests__ Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
NativeWebSocketModule.js Make RCTWebSocketModule TurboModule-compatible 2019-11-08 14:14:46 -08:00
RCTReconnectingWebSocket.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTReconnectingWebSocket.m Fixes RCTReconnectingWebSocket connecting in infinite loop when stopped before it connects (#26864) 2020-02-11 10:54:39 -08:00
RCTSRWebSocket.h Backed out changeset 183744d2415b 2016-03-15 11:49:28 -07:00
RCTSRWebSocket.m Update RCTSRWebSocket.m (#29419) 2020-07-28 11:10:14 -07:00
WebSocket.js EventEmitter: Import `{Native,RCTDevice}EventEmitter` 2020-06-27 02:18:10 -07:00
WebSocketEvent.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
WebSocketInterceptor.js EventEmitter: Import `{Native,RCTDevice}EventEmitter` 2020-06-27 02:18:10 -07:00