implements user fs alimentation from web sockets

This commit is contained in:
Paul Schneider 2020-10-18 23:45:02 +01:00
commit 225118d676
6 changed files with 42 additions and 9 deletions

View file

@ -127,7 +127,7 @@ namespace cli {
public CommandLineApplication Integrate(CommandLineApplication rootApp)
{
CommandLineApplication streamCmd = rootApp.Command("stream",
CommandLineApplication streamCmd = rootApp.Command("nstream",
(target) =>
{
target.FullName = "Stream to server";
@ -172,7 +172,7 @@ namespace cli {
async Task DoStream (Stream stream)
{
_tokenSource = new CancellationTokenSource();
var url = _cxSettings.StreamingUrl + "/" + HttpUtility.UrlEncode(_destArg.Value);
var url = _cxSettings.NStreamingUrl + "/" + HttpUtility.UrlEncode(_destArg.Value);
_logger.LogInformation("Connecting to " + url);
await _client.ConnectAsync(new Uri(url), _tokenSource.Token);