Class CCServerListRequest

java.lang.Object
de.florianmichael.classic4j.request.classicube.server.CCServerListRequest

public final class CCServerListRequest extends Object
This class is used to get the server list from the ClassiCube server list. It is used by ClassiCubeHandler.
  • Constructor Details

    • CCServerListRequest

      public CCServerListRequest()
  • Method Details

    • send

      public static CompletableFuture<CCServerList> send(HttpClient client, CCAccount account)
      Sends a request to the ClassiCube server list to get the server list.
      Parameters:
      client - The HttpClient to use.
      account - The account to use for the request.
      Returns:
      A CompletableFuture containing the response.