obsolete API

vnext
Paul Schneider 4 years ago
parent 47881930d8
commit c752c75c20
2 changed files with 2 additions and 9 deletions

@ -79,7 +79,7 @@ namespace cli {
async Task DoStream (Stream stream)
{
_tokenSource = new CancellationTokenSource();
var url = _cxSettings.NStreamingUrl + "/" + HttpUtility.UrlEncode(_destArg.Value);
var url = _cxSettings.StreamingUrl + "/" + HttpUtility.UrlEncode(_destArg.Value);
_logger.LogInformation("Connecting to " + url);
await _client.ConnectAsync(new Uri(url), _tokenSource.Token);

@ -36,17 +36,10 @@ namespace cli
$"{SiteAccessSheme}://{Authority}:{Port}/token";
} }
[NotMapped]
[JsonIgnore]
public string StreamingUrl { get {
return Port==0 ? $"ws://{Authority}"+Constants.LivePath:
$"ws://{Authority}:{Port}"+Constants.LivePath;
} }
[NotMapped]
[JsonIgnore]
public string NStreamingUrl { get {
public string StreamingUrl { get {
return Port==0 ? $"ws://{Authority}"+Constants.StreamingPath:
$"ws://{Authority}:{Port}"+Constants.StreamingPath;
} }

Loading…