Start the session
| 349 | |
| 350 | // Start the session |
| 351 | void |
| 352 | run() |
| 353 | { |
| 354 | // We need to be executing within a strand to perform async operations |
| 355 | // on the I/O objects in this session. Although not strictly necessary |
| 356 | // for single-threaded contexts, this example code is written to be |
| 357 | // thread-safe by default. |
| 358 | net::dispatch( |
| 359 | stream_.get_executor(), |
| 360 | beast::bind_front_handler( |
| 361 | &http_session::do_read, |
| 362 | this->shared_from_this())); |
| 363 | } |
| 364 | |
| 365 | private: |
| 366 | void |
nothing calls this directly
no test coverage detected