packaging
This commit is contained in:
11
src/cli/Commands/Streamer.cs
Normal file
11
src/cli/Commands/Streamer.cs
Normal 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}");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user