Mercurial > hg > piper-cpp
diff vamp-server/simple-server.cpp @ 228:691b0daad1c6
Add helpful output
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 12 Jun 2017 10:19:52 +0100 |
parents | e0e3d9efa774 |
children | 8fd9da17f951 |
line wrap: on
line diff
--- a/vamp-server/simple-server.cpp Fri Jun 09 16:47:58 2017 +0100 +++ b/vamp-server/simple-server.cpp Mon Jun 12 10:19:52 2017 +0100 @@ -663,6 +663,9 @@ if (debug) { cerr << myname << " " << pid << ": waiting for format: " << format << endl; + if (format == "json") { + cerr << myname << " " << pid << ": (to test the server, try {\"method\": \"list\"})" << endl; + } } while (true) {