Add websockets
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
public class Endpoints
|
||||
{
|
||||
private static readonly string HOST = "games.lncvrt.xyz";
|
||||
private static readonly int WS_PORT = 3342;
|
||||
public static readonly string BASE_URL = $"https://{HOST}/api";
|
||||
public static readonly string BERRYDASH_ENDPOINT = BASE_URL + "/berrydash";
|
||||
public static readonly string WS_ENDPOINT = $"ws://{HOST}:{WS_PORT}/api/ws";
|
||||
public static readonly string LATEST_VERSION_ENDPOINT = BERRYDASH_ENDPOINT + "/latest-version";
|
||||
public static readonly string LEADERBOARDS_ENDPOINT = BERRYDASH_ENDPOINT + "/leaderboards";
|
||||
public static readonly string LEADERBOARDS_SCORE_ENDPOINT = LEADERBOARDS_ENDPOINT + "/score";
|
||||
|
||||
Reference in New Issue
Block a user