Take ownership of the socket
| 224 | public: |
| 225 | // Take ownership of the socket |
| 226 | explicit |
| 227 | session( |
| 228 | tcp::socket&& socket, |
| 229 | std::shared_ptr<std::string const> const& doc_root) |
| 230 | : stream_(std::move(socket)) |
| 231 | , doc_root_(doc_root) |
| 232 | { |
| 233 | } |
| 234 | |
| 235 | // Start the asynchronous operation |
| 236 | void |