obsolete API
This commit is contained in:
@ -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 {
|
||||
return Port==0 ? $"ws://{Authority}"+Constants.StreamingPath:
|
||||
$"ws://{Authority}:{Port}"+Constants.StreamingPath;
|
||||
} }
|
||||
|
Reference in New Issue
Block a user