Set an handler called when the connection is closed.
@param handler the handler @return a reference to this, so the API can be used fluently
See Implementation
Set an handler called when the connection is closed.
@param handler the handler @return a reference to this, so the API can be used fluently