This commit is contained in:
Paul Schneider 2016-11-24 01:01:41 +01:00
commit 6d5178bf43
16 changed files with 1209 additions and 34 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();
}
}
}