Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::concepts::ConnectionHandler Concept Reference

A callback type for handling connection state changes. More...

#include <network_concepts.h>

Concept definition

template<typename F>
A callback type for handling connection state changes.

Detailed Description

A callback type for handling connection state changes.

Example usage:

template<ConnectionHandler Handler>
void set_connected_handler(Handler&& handler) {
// handler will be called with no arguments
}

Definition at line 131 of file network_concepts.h.