MCPcopy Create free account
hub / github.com/boostorg/beast / run

Method run

example/advanced/server-flex/advanced_server_flex.cpp:759–771  ·  view source on GitHub ↗

Launch the detector

Source from the content-addressed store, hash-verified

757
758 // Launch the detector
759 void
760 run()
761 {
762 // We need to be executing within a strand to perform async operations
763 // on the I/O objects in this session. Although not strictly necessary
764 // for single-threaded contexts, this example code is written to be
765 // thread-safe by default.
766 net::dispatch(
767 stream_.get_executor(),
768 beast::bind_front_handler(
769 &detect_session::on_run,
770 this->shared_from_this()));
771 }
772
773 void
774 on_run()

Callers

nothing calls this directly

Calls 2

bind_front_handlerFunction · 0.85
get_executorMethod · 0.45

Tested by

no test coverage detected