Package live.crowdcontrol.cc4j.util
Class CloseData
java.lang.Object
live.crowdcontrol.cc4j.util.CloseData
Information related to the WebSocket connection closing
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CloseData
-
-
Method Details
-
getCode
public int getCode()- Returns:
- close frame code
-
getReason
Additional information string- Returns:
- reason string
-
isRemote
Deprecated.no longer availableReturns whether the closing of the connection was initiated by the remote host.- Returns:
- remote cause
-