PingMessage Class

Definition

A keep-alive message to let the other side of the connection know that the connection is still alive.

C#
public class PingMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
Inheritance
PingMessage

Fields

Instance

A static instance of the PingMessage to remove unneeded allocations.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0