Interface ReadablePlayerCookieConnection

All Superinterfaces:
PlayerConnection
All Known Subinterfaces:
PlayerCommonConnection, PlayerConfigurationConnection, PlayerGameConnection, PlayerLoginConnection

public interface ReadablePlayerCookieConnection extends PlayerConnection
  • Method Details

    • retrieveCookie

      CompletableFuture<byte[]> retrieveCookie(NamespacedKey key)
      Retrieves a cookie from this connection.
      Parameters:
      key - the key identifying the cookie
      Returns:
      a CompletableFuture that will be completed when the Cookie response is received or otherwise available. If the cookie is not set in the client, the CompletableFuture will complete with a null value.