Register the connection close callback.
@param closedListener The connection close callback. @return The WebSocket connection.
See Implementation
Register the connection close callback.
@param closedListener The connection close callback. @return The WebSocket connection.