making pay, & refactoring
This commit is contained in:
parent
8b5e50626e
commit
3e6ac9aba7
34 changed files with 602 additions and 215 deletions
22
Yavsc/ApiControllers/Musical/PodcastController.cs
Normal file
22
Yavsc/ApiControllers/Musical/PodcastController.cs
Normal 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();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue