Take ownership of the buffer
| 254 | public: |
| 255 | // Take ownership of the buffer |
| 256 | session( |
| 257 | beast::flat_buffer buffer, |
| 258 | std::shared_ptr<std::string const> const& doc_root) |
| 259 | : doc_root_(doc_root) |
| 260 | , buffer_(std::move(buffer)) |
| 261 | { |
| 262 | } |
| 263 | |
| 264 | void |
| 265 | do_read() |