Objects are constructed with a strand to ensure that handlers do not execute concurrently.
| 50 | // Objects are constructed with a strand to |
| 51 | // ensure that handlers do not execute concurrently. |
| 52 | explicit |
| 53 | session(net::io_context& ioc) |
| 54 | : resolver_(net::make_strand(ioc)) |
| 55 | , stream_(net::make_strand(ioc)) |
| 56 | { |
| 57 | } |
| 58 | |
| 59 | // Start the asynchronous operation |
| 60 | void |
nothing calls this directly
no outgoing calls
no test coverage detected