MCPcopy Create free account
hub / github.com/boostorg/asio / deliver

Method deliver

example/cpp11/chat/chat_server.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 void deliver(const chat_message& msg)
91 {
92 bool write_in_progress = !write_msgs_.empty();
93 write_msgs_.push_back(msg);
94 if (!write_in_progress)
95 {
96 do_write();
97 }
98 }
99
100private:
101 void do_read_header()

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected