react-native-windows 0.64.26 → 0.64.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,6 @@
17
17
  namespace Microsoft::React {
18
18
 
19
19
  class WinRTWebSocketResource : public IWebSocketResource, public std::enable_shared_from_this<WinRTWebSocketResource> {
20
- winrt::Windows::Foundation::Uri m_uri;
21
20
  winrt::Windows::Networking::Sockets::IMessageWebSocket m_socket;
22
21
  // TODO: Use or remove.
23
22
  winrt::Windows::Networking::Sockets::IMessageWebSocket::MessageReceived_revoker m_revoker;
@@ -45,28 +44,22 @@ class WinRTWebSocketResource : public IWebSocketResource, public std::enable_sha
45
44
 
46
45
  WinRTWebSocketResource(
47
46
  winrt::Windows::Networking::Sockets::IMessageWebSocket &&socket,
48
- winrt::Windows::Foundation::Uri &&uri,
49
47
  std::vector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult> &&certExceptions);
50
48
 
51
- winrt::Windows::Foundation::IAsyncAction PerformConnect() noexcept;
49
+ winrt::Windows::Foundation::IAsyncAction PerformConnect(winrt::Windows::Foundation::Uri &&uri) noexcept;
52
50
  winrt::fire_and_forget PerformPing() noexcept;
53
51
  winrt::fire_and_forget PerformWrite(std::string &&message, bool isBinary) noexcept;
54
52
  winrt::fire_and_forget PerformClose() noexcept;
55
53
 
56
- void OnMessageReceived(
57
- winrt::Windows::Networking::Sockets::IWebSocket const &sender,
58
- winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs const &args);
59
54
  void Synchronize() noexcept;
60
55
 
61
56
  public:
62
57
  WinRTWebSocketResource(
63
58
  winrt::Windows::Networking::Sockets::IMessageWebSocket &&socket,
64
59
  winrt::Windows::Storage::Streams::IDataWriter &&writer,
65
- winrt::Windows::Foundation::Uri &&uri,
66
60
  std::vector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult> &&certExceptions);
67
61
 
68
62
  WinRTWebSocketResource(
69
- const std::string &urlString,
70
63
  std::vector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult> &&certExceptions);
71
64
 
72
65
  ~WinRTWebSocketResource() noexcept override;
@@ -76,7 +69,7 @@ class WinRTWebSocketResource : public IWebSocketResource, public std::enable_sha
76
69
  /// <summary>
77
70
  /// <see cref="IWebSocketResource::Connect" />
78
71
  /// </summary>
79
- void Connect(const Protocols &protocols, const Options &options) noexcept override;
72
+ void Connect(std::string &&url, const Protocols &protocols, const Options &options) noexcept override;
80
73
 
81
74
  /// <summary>
82
75
  /// <see cref="IWebSocketResource::Ping" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.64.26",
3
+ "version": "0.64.30",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",