Add PendingConnection#isTransferred API method

This commit is contained in:
md_5
2024-02-04 11:35:20 +11:00
parent 94d5b0d03c
commit b52b14696c

View File

@@ -92,6 +92,14 @@ public interface PendingConnection extends Connection
*/
boolean isLegacy();
/**
* Gets if this connection has been transferred from another server.
*
* @return true if the connection has been transferred
*/
@ApiStatus.Experimental
boolean isTransferred();
/**
* Retrieves a cookie from this pending connection.
*