Microsoft.AspNetCore.SignalR.Transports.LongPollingTransport.ProcessSendRequest C# (CSharp) Метод

ProcessSendRequest() защищенный Метод

protected ProcessSendRequest ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task
        protected override async Task ProcessSendRequest()
        {
            // Managed SignalR 2.x clients don't set content type which prevents from parsing the body as a form
            if (string.IsNullOrEmpty(Context.Request.ContentType))
            {
                Context.Request.ContentType = FormContentType;
            }

            var form = await Context.Request.ReadFormAsync().PreserveCulture();
            string data = (string)form["data"] ?? Context.Request.Query["data"];

            if (Received != null)
            {
                await Received(data).PreserveCulture();
            }

        }