Microsoft.AspNet.SignalR.Transports.ServerSentEventsTransport.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)
        {
            OnSendingResponse(response);

            var context = new SendContext(this, response);

            // Ensure delegate continues to use the C# Compiler static delegate caching optimization.
            return EnqueueOperation(state => PerformSend(state), context);
        }