Microsoft.AspNetCore.SignalR.Transports.LongPollingTransport.Send C# (CSharp) Method

Send() public method

public Send ( PersistentResponse response ) : System.Threading.Tasks.Task
response PersistentResponse
return System.Threading.Tasks.Task
        public override Task Send(PersistentResponse response)
        {
            Heartbeat.MarkConnection(this);

            AddTransportData(response);

            // This overload is only used in response to /connect, /poll and /reconnect requests,
            // so the response will have already been initialized by ProcessMessages.
            var context = new LongPollingTransportContext(this, response);
            return EnqueueOperation(state => PerformPartialSend(state), context);
        }

Same methods

LongPollingTransport::Send ( object value ) : System.Threading.Tasks.Task