Removed ServicePaths property from WebSocketServer class
This commit is contained in:
@@ -168,23 +168,6 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the collection of each path to the WebSocket services that the server provides.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// An IEnumerable<string> that contains the collection of each path to the WebSocket services.
|
||||
/// </value>
|
||||
public IEnumerable<string> ServicePaths {
|
||||
get {
|
||||
var url = BaseUri.IsAbsoluteUri
|
||||
? BaseUri.ToString ().TrimEnd ('/')
|
||||
: String.Empty;
|
||||
|
||||
foreach (var path in _serviceHosts.ServicePaths)
|
||||
yield return url + path;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the functions for the WebSocket services that the server provides.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user