mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2026-01-12 17:58:15 +01:00
12 lines
405 B
C#
12 lines
405 B
C#
namespace Phantom.Utils.Rpc.Runtime.Server;
|
|
|
|
public interface IRpcServerClientHandshake {
|
|
Task Perform(bool isNewSession, RpcStream stream, Guid clientGuid, CancellationToken cancellationToken);
|
|
|
|
sealed record NoOp : IRpcServerClientHandshake {
|
|
public Task Perform(bool isNewSession, RpcStream stream, Guid clientGuid, CancellationToken cancellationToken) {
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
}
|