| 57 | struct ExampleClientInstance : public choc::network::HTTPServer::ClientInstance |
| 58 | { |
| 59 | ExampleClientInstance() |
| 60 | { |
| 61 | static int clientCount = 0; |
| 62 | clientID = ++clientCount; |
| 63 | |
| 64 | std::cout << "New client connected, ID: " << clientID << std::endl; |
| 65 | } |
| 66 | |
| 67 | ~ExampleClientInstance() |
| 68 | { |
nothing calls this directly
no outgoing calls
no test coverage detected