LumaTunnel
【WinUI】LumaTunnel 是一个面向个人多设备的 Windows 代理系统。客户端在本机提供 HTTP/HTTPS CONNECT 与 SOCKS5 TCP 代理,并通过一个受信任 TLS 证书保护的 WSS 会话,将多个 TCP 流复用到自建 Windows Server 节点。
关注
0
Fork
0
Star
0
namespace LumaTunnel.Shared.Protocol;
public sealed record TunnelFrame(
TunnelFrameType Type,
uint StreamId,
ReadOnlyMemory<byte> Payload,
ushort Flags = 0,
byte Version = TunnelProtocol.Version)
{
public static TunnelFrame Empty(TunnelFrameType type, uint streamId, ushort flags = 0) =>
new(type, streamId, ReadOnlyMemory<byte>.Empty, flags);
}
namespace LumaTunnel.Shared.Protocol;
public sealed record TunnelFrame(
TunnelFrameType Type,
uint StreamId,
ReadOnlyMemory<byte> Payload,
ushort Flags = 0,
byte Version = TunnelProtocol.Version)
{
public static TunnelFrame Empty(TunnelFrameType type, uint streamId, ushort flags = 0) =>
new(type, streamId, ReadOnlyMemory<byte>.Empty, flags);
}