Take ownership of the socket
| 243 | public: |
| 244 | // Take ownership of the socket |
| 245 | explicit |
| 246 | session( |
| 247 | tcp::socket&& socket, |
| 248 | ssl::context& ctx, |
| 249 | std::shared_ptr<std::string const> const& doc_root) |
| 250 | : stream_(std::move(socket), ctx) |
| 251 | , doc_root_(doc_root) |
| 252 | { |
| 253 | } |
| 254 | |
| 255 | // Start the asynchronous operation |
| 256 | void |