afterReconnect

A callback called each time the web socket is successfully reconnected.

The WebSocketConnection is the same proxy instance after each reconnect, it is just provided for convenience. It is not the new underlying connection, which is an implementation detail.