MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / HttpSession

Method HttpSession

boost-http/http.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25class HttpSession : public std::enable_shared_from_this<HttpSession> {
26 public:
27 explicit HttpSession(tcp::socket &&socket, std::shared_ptr<HttpCallback> callback)
28 : stream_(std::move(socket)), strand_(stream_.get_executor()), callback_(std::move(callback)) {
29 }
30
31 void run() {
32 self_ = shared_from_this();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected