Working clock stream. Propagate up write errors

This commit is contained in:
Ian Gulliver
2019-04-29 00:11:07 +00:00
parent 4d4525b145
commit 205b8253b2
11 changed files with 92 additions and 13 deletions

5
sse.h
View File

@@ -9,5 +9,8 @@ class SSEServer {
void Serve();
private:
FastCGIServer fastcgi_server_;
void OnRequest(std::unique_ptr<FastCGIRequest> request);
std::function<void(std::unique_ptr<SSEStream>)> callback_;
FastCGIServer fastcgi_server_;
};