Microsoft.AspNetCore.SignalR.PersistentConnection.OnReceived C# (CSharp) Method

OnReceived() protected method

Called when data is received from a connection.
protected OnReceived ( HttpRequest request, string connectionId, string data ) : System.Threading.Tasks.Task
request HttpRequest The for the current connection.
connectionId string The id of the connection sending the data.
data string The payload sent to the connection.
return System.Threading.Tasks.Task
        protected virtual Task OnReceived(HttpRequest request, string connectionId, string data)
        {
            return TaskAsyncHelper.Empty;
        }