mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
16 lines
357 B
C#
16 lines
357 B
C#
using AmongUs.Server.Net.Response;
|
|
using Hazel;
|
|
|
|
namespace AmongUs.Server.Extensions
|
|
{
|
|
internal static class ConnectionExtensions
|
|
{
|
|
public static void Send(this Connection connection, MessageBase message)
|
|
{
|
|
using (message)
|
|
{
|
|
connection.Send(message.Write());
|
|
}
|
|
}
|
|
}
|
|
} |