Rename to .cc, fix Makefile bugs, add example_clock

This commit is contained in:
Ian Gulliver
2019-04-28 21:30:15 +00:00
parent b444bc5964
commit d712b0c687
13 changed files with 53 additions and 5 deletions

8
sse.cc Normal file
View File

@@ -0,0 +1,8 @@
#include "sse.h"
SSEServer::SSEServer(int port, const std::function<void(std::unique_ptr<SSEStream>)>& callback)
: fastcgi_server_(port, [](std::unique_ptr<FastCGIRequest> request) {}) {}
void SSEServer::Serve() {
fastcgi_server_.Serve();
}