MCPcopy Create free account
hub / github.com/Tracktion/choc / ExampleClientInstance

Method ExampleClientInstance

examples/http_server.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57struct 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected