making pay, & refactoring

This commit is contained in:
Paul Schneider 2017-05-05 23:37:07 +02:00
commit 3e6ac9aba7
34 changed files with 602 additions and 215 deletions

View file

@ -0,0 +1,22 @@
using System;
using System.Collections.Concurrent;
using System.Net.WebSockets;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
namespace Yavsc.ApiControllers
{
public class PodcastController : Controller
{
public ArraySegment<Byte> CurrentOutput ;
public bool IsEnd;
ConcurrentBag<WebSocket> Listeners = new ConcurrentBag<WebSocket>();
public async Task Connect()
{
var socket = await this.HttpContext.WebSockets.AcceptWebSocketAsync();
}
}
}