packaging

This commit is contained in:
2019-06-24 14:30:47 +01:00
parent 8e16b77575
commit ef4c7f87c4
14 changed files with 61 additions and 21 deletions

View File

@ -0,0 +1,11 @@
using System.Net.WebSockets;
public class Streamer {
private ClientWebSocket _client;
public Streamer(string token)
{
_client = new ClientWebSocket();
_client.Options.SetRequestHeader("Authorization", $"Bearer {token}");
}
}