Create the session
| 345 | public: |
| 346 | // Create the session |
| 347 | plain_session( |
| 348 | tcp::socket&& socket, |
| 349 | beast::flat_buffer buffer, |
| 350 | std::shared_ptr<std::string const> const& doc_root) |
| 351 | : session<plain_session>( |
| 352 | std::move(buffer), |
| 353 | doc_root) |
| 354 | , stream_(std::move(socket)) |
| 355 | { |
| 356 | } |
| 357 | |
| 358 | // Called by the base class |
| 359 | beast::tcp_stream& |