Commit 59bc389
Apply custom headers in RCTReconnectingWebSocket (#55611)
Summary:
Pull Request resolved: #55611
Inject custom devsupport headers into the HMR WebSocket connection. Changes from `initWithURL:` to `initWithURLRequest:` so headers can be set on the HTTP upgrade handshake.
Changelog:
[Internal] [Changed] -
Reviewed By: cipolleschi
Differential Revision: D93596718
fbshipit-source-id: ab028d0e03e11f0efde000d19943693439236dbc1 parent dd02486 commit 59bc389
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments