MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / Content

Class Content

test/sendfile/SendFileServer.cpp:15–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13using namespace cppnet;
14
15struct Content {
16 FileHeader _head;
17 STATUS _status;
18 Content() {
19 _status = hello;
20 _file = nullptr;
21 }
22 ~Content() {
23 if (_file) {
24 delete _file;
25 }
26 }
27 std::fstream* _file;
28};
29
30std::map<Handle, Content> _recv_map;
31

Callers 1

ConnectFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected