Skip to content

Commit

Permalink
Add PendingConnection#isTransferred API method
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Feb 4, 2024
1 parent 94d5b0d commit b52b146
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit b52b146

Please sign in to comment.