- add serverProtocolEndpointAddress to settings

pull/26/head
Simon Gockner 6 years ago
parent 5235dcbb80
commit e57c0eb1ab
  1. 1
      GBase.Client/GBaseClientSettings.cs
  2. 2
      GBase.Client/Interfaces/IGBaseClientSettings.cs

@ -22,5 +22,6 @@ namespace GBase.Client
public IPAddress IpAddress { get; } public IPAddress IpAddress { get; }
public int Port { get; } public int Port { get; }
public string Endpoint { get; } public string Endpoint { get; }
public string ServerProtocolEndpointAddress => @$"{Protocol.GetProtocolString()}{IpAddress}:{Port}{Endpoint}";
} }
} }

@ -8,6 +8,6 @@ namespace GBase.Client.Interfaces
{ {
public interface IGBaseClientSettings : ICommunicationSettings public interface IGBaseClientSettings : ICommunicationSettings
{ {
string ServerProtocolEndpointAddress { get; }
} }
} }
Loading…
Cancel
Save