Microsoft.AspNetCore.SignalR.Transports.ForeverTransport.ProcessRequestCore C# (CSharp) Method

ProcessRequestCore() protected method

protected ProcessRequestCore ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
return System.Threading.Tasks.Task
        protected async Task ProcessRequestCore(ITransportConnection connection)
        {
            EnsureFormContentType();

            Connection = connection;

            if (IsSendRequest)
            {
                await ProcessSendRequest().PreserveCulture();
            }
            else if (IsAbortRequest)
            {
                await Connection.Abort(ConnectionId).PreserveCulture();
            }
            else
            {
                await InitializePersistentState().PreserveCulture();
                await ProcessReceiveRequest(connection).PreserveCulture();
            }
        }