3xpl websocket client in case anyone wanted one. Don't bother using it though, their websocket service is a piece of shit that's totally broken which I only found out after wasting a day on it.

This commit is contained in:
barelyprofessional
2024-06-16 12:18:56 +08:00
parent cdad1d6549
commit 5cdab275c3
12 changed files with 4026 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System.Text.Json.Serialization;
namespace ThreeXplWsClient.Models;
public class GetWebsocketTokenModel
{
[JsonPropertyName("data")]
public required string Data { get; set; }
[JsonPropertyName("context")]
public GetWebSocketTokenContextModel? Context { get; set; }
}
public class GetWebSocketTokenContextModel
{
[JsonPropertyName("code")]
public int? Code { get; set; }
}