diff --git a/src/net/connection_client.hpp b/src/net/connection_client.hpp
index c64aca9e7b23b60f481c4317d470359b991b4440..61fcbb98801ec9f5599d0886ba730d347c36a196 100644
--- a/src/net/connection_client.hpp
+++ b/src/net/connection_client.hpp
@@ -15,6 +15,10 @@ namespace rmrf::net {
 
 class connection_client : public std::enable_shared_from_this<connection_client> {
 public:
+    /**
+      * This function type accepts a reference to the incomming data string which it may not alter
+      * and may not return any data.
+      */
     typedef std::function<void(const std::string&)> incomming_data_cb;
 
 protected:
@@ -25,6 +29,7 @@ public:
 
     /**
      * Use this method to send data to the other endpoint.
+     * @param data The data to send
      */
     virtual void write_data(const std::string& data) = 0;
 
@@ -33,7 +38,7 @@ public:
      * called when the client got data to process.
      * @param cb The callback function to register [void(std::string data)]
      */
-    inline void set_incomming_data_callback(const incomming_data_cb &cb) {
+    inline void set_incomming_data_callback(const incomming_data_cb& cb) {
         this->in_data_cb = cb;
     };
 };