Take ownership of the stream
| 220 | public: |
| 221 | // Take ownership of the stream |
| 222 | session( |
| 223 | tcp::socket&& socket, |
| 224 | std::shared_ptr<std::string const> const& doc_root) |
| 225 | : stream_(std::move(socket)) |
| 226 | , doc_root_(doc_root) |
| 227 | { |
| 228 | } |
| 229 | |
| 230 | // Start the asynchronous operation |
| 231 | void |