mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-10-30 05:42:47 +01:00
9 lines
274 B
C#
9 lines
274 B
C#
using NetMQ;
|
|
using Serilog;
|
|
|
|
namespace Phantom.Utils.Rpc;
|
|
|
|
public sealed record RpcConfiguration(ILogger Logger, string Host, ushort Port, NetMQCertificate ServerCertificate, CancellationToken CancellationToken) {
|
|
public string TcpUrl => "tcp://" + Host + ":" + Port;
|
|
}
|