mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 10:42:51 +01:00
9 lines
281 B
C#
9 lines
281 B
C#
using NetMQ;
|
|
|
|
namespace Phantom.Utils.Rpc;
|
|
|
|
public sealed record RpcConfiguration(string ServiceName, string Host, ushort Port, NetMQCertificate ServerCertificate) {
|
|
internal string LoggerName => "Rpc:" + ServiceName;
|
|
internal string TcpUrl => "tcp://" + Host + ":" + Port;
|
|
}
|