webconsole: add stream closing

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2020-03-05 04:14:39 +03:00
parent 5eec580727
commit 51d018acc6
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2
2 changed files with 121 additions and 60 deletions

View file

@ -35,6 +35,7 @@ namespace http
void HandlePage (const HTTPReq & req, HTTPRes & res, std::stringstream& data);
void HandleCommand (const HTTPReq & req, HTTPRes & res, std::stringstream& data);
void SendReply (HTTPRes & res, std::string & content);
uint32_t CreateToken ();
private: