packaging
This commit is contained in:
parent
beba0531ad
commit
36722d338b
14 changed files with 61 additions and 21 deletions
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}");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue