setClientDisconnectCallback =========================== :doc:`/types/ServerSocketInterface/index`::setClientDisconnectCallback Sets the function that will be called when a client disconnects from the server. Declaration ----------- .. code-block:: cpp virtual void setClientDisconnectCallback(std::function callback) = 0; Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - callback - `std::function `_\ - The function that will be called when a client disconnects from the server. Returns ------- None.