mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
Expose URL on IServerClient
This commit is contained in:
@@ -10,6 +10,11 @@ namespace Tgstation.Server.Client
|
||||
/// </summary>
|
||||
public interface IServerClient : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// The connected server <see cref="Uri"/>
|
||||
/// </summary>
|
||||
Uri Url { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="Token"/> being used to access the server
|
||||
/// </summary>
|
||||
|
||||
@@ -9,6 +9,9 @@ namespace Tgstation.Server.Client
|
||||
/// <inheritdoc />
|
||||
sealed class ServerClient : IServerClient
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public Uri Url => apiClient.Url;
|
||||
|
||||
/// <inheritdoc />
|
||||
public Token Token { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user