Skip to content

Commit c77a7bc

Browse files
authored
Merge pull request #9825 from tmat/RemovePing
Remove SendPingMessage
2 parents 9c28f42 + e15186c commit c77a7bc

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/HotReload/Contracts/AbstractBrowserRefreshServerAccessor.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ public void ConfigureLaunchEnvironment(IDictionary<string, string> builder, bool
2222
public ValueTask RefreshBrowserAsync(CancellationToken cancellationToken)
2323
=> Server.RefreshBrowserAsync(cancellationToken);
2424

25-
public ValueTask SendPingMessageAsync(CancellationToken cancellationToken)
26-
=> Server.SendPingMessageAsync(cancellationToken);
27-
2825
public ValueTask SendReloadMessageAsync(CancellationToken cancellationToken)
2926
=> Server.SendReloadMessageAsync(cancellationToken);
3027

src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/HotReload/Contracts/IBrowserRefreshService.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public interface IBrowserRefreshService
1919
/// It is safe to call this multiple times.
2020
/// </summary>
2121
/// <param name="cancellationToken"></param>
22-
/// <returns></returns>
2322
ValueTask StartServerAsync(CancellationToken cancellationToken);
2423

2524
/// <summary>
@@ -34,18 +33,10 @@ public interface IBrowserRefreshService
3433
/// </summary>
3534
ValueTask RefreshBrowserAsync(CancellationToken cancellationToken);
3635

37-
/// <summary>
38-
/// Sends a ping message to all connected browsers.
39-
/// It will throw InvalidOperationException if the browser refresh server is not started.
40-
/// </summary>
41-
/// <param name="cancellationToken"></param>
42-
ValueTask SendPingMessageAsync(CancellationToken cancellationToken);
43-
4436
/// <summary>
4537
/// Sends a reload message to all connected browsers.
4638
/// It will throw InvalidOperationException if the browser refresh server is not started.
4739
/// </summary>
48-
/// <returns></returns>
4940
ValueTask SendReloadMessageAsync(CancellationToken cancellationToken);
5041

5142
/// <summary>

src/Microsoft.VisualStudio.ProjectSystem.Managed/PublicAPI/net472/PublicAPI.Shipped.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAcces
228228
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.ConfigureLaunchEnvironment(System.Collections.Generic.IDictionary<string!, string!>! builder, bool enableHotReload) -> void
229229
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.Dispose() -> void
230230
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.RefreshBrowserAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
231-
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.SendPingMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
232231
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.SendReloadMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
233232
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.SendWaitMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
234233
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.StartServerAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
@@ -242,7 +241,6 @@ Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService
242241
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.BrowserLinkInjected.get -> bool
243242
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.ConfigureLaunchEnvironmentAsync(System.Collections.Generic.IDictionary<string!, string!>! builder, bool enableHotReload, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
244243
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.RefreshBrowserAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
245-
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.SendPingMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
246244
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.SendReloadMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
247245
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.SendWaitMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
248246
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.StartServerAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask

src/Microsoft.VisualStudio.ProjectSystem.Managed/PublicAPI/net9.0/PublicAPI.Shipped.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAcces
222222
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.ConfigureLaunchEnvironment(System.Collections.Generic.IDictionary<string, string> builder, bool enableHotReload) -> void
223223
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.Dispose() -> void
224224
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.RefreshBrowserAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
225-
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.SendPingMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
226225
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.SendReloadMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
227226
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.SendWaitMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
228227
Microsoft.VisualStudio.ProjectSystem.HotReload.AbstractBrowserRefreshServerAccessor.StartServerAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
@@ -236,7 +235,6 @@ Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService
236235
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.BrowserLinkInjected.get -> bool
237236
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.ConfigureLaunchEnvironmentAsync(System.Collections.Generic.IDictionary<string, string> builder, bool enableHotReload, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
238237
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.RefreshBrowserAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
239-
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.SendPingMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
240238
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.SendReloadMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
241239
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.SendWaitMessageAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask
242240
Microsoft.VisualStudio.ProjectSystem.HotReload.IBrowserRefreshService.StartServerAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask

0 commit comments

Comments
 (0)