Start the asynchronous operation
| 364 | |
| 365 | // Start the asynchronous operation |
| 366 | void |
| 367 | run() |
| 368 | { |
| 369 | // We need to be executing within a strand to perform async operations |
| 370 | // on the I/O objects in this session. Although not strictly necessary |
| 371 | // for single-threaded contexts, this example code is written to be |
| 372 | // thread-safe by default. |
| 373 | net::dispatch(stream_.get_executor(), |
| 374 | beast::bind_front_handler( |
| 375 | &session::do_read, |
| 376 | shared_from_this())); |
| 377 | } |
| 378 | |
| 379 | void |
| 380 | do_eof() |
nothing calls this directly
no test coverage detected