udp中继

This commit is contained in:
snltty
2025-03-16 18:51:32 +08:00
parent 488c0381d9
commit 06ef41f242
103 changed files with 899 additions and 711 deletions

View File

@@ -63,7 +63,7 @@ namespace linker.messenger.access
Connection = signInClientState.Connection,
MessengerId = (ushort)AccessMessengerIds.AccessUpdateForward,
Payload = serializer.Serialize(configUpdateAccessInfo)
});
}).ConfigureAwait(false);
return resp.Code == MessageResponeCodes.OK && resp.Data.Span.SequenceEqual(Helper.TrueArray);
}
@@ -84,7 +84,7 @@ namespace linker.messenger.access
Connection = signInClientState.Connection,
MessengerId = (ushort)AccessMessengerIds.SetApiPasswordForward,
Payload = serializer.Serialize(info)
});
}).ConfigureAwait(false);
return resp.Code == MessageResponeCodes.OK && resp.Data.Span.SequenceEqual(Helper.TrueArray);
}