PeerStatus (int)
Less than 1 minute
PeerStatus (int)
Enum representing peer connection status for Warlock.
enum PeerStatus: intCases
DISCONNECTED
Peer is disconnected.
case DISCONNECTEDCONNECTING
Peer is connecting.
case CONNECTING = 1CONNECTED
Peer is connected.
case CONNECTED = 2NEGOTIATING
Peer is negotiating.
case NEGOTIATING = 3AUTHENTICATING
Peer is authenticating.
case AUTHENTICATING = 4STREAMING
Peer is streaming.
case STREAMING = 5Methods
isConnected
Returns true when the peer has an active data path.
public isConnected(): booltoString
Returns a human-readable label for the peer status.
public toString(): stringGenerated by Hazaar API Doc Generator on Fri, 05 Jun 2026 06:08:15 +0000