Class BCServerListRequest

java.lang.Object
de.florianmichael.classic4j.request.betacraft.BCServerListRequest

public final class BCServerListRequest extends Object
  • Constructor Details

    • BCServerListRequest

      public BCServerListRequest()
  • Method Details

    • send

      public static CompletableFuture<BCServerList> send(HttpClient client, com.google.gson.Gson gson)
      Sends the request to the BetaCraft server list and returns the response as a BCServerList object.
      Parameters:
      client - The HttpClient to use for the request.
      gson - The Gson instance to use for the request.
      Returns:
      A CompletableFuture containing the response.