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

Method on_run

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

Source from the content-addressed store, hash-verified

771 }
772
773 void
774 on_run()
775 {
776 // Set the timeout.
777 stream_.expires_after(std::chrono::seconds(30));
778
779 beast::async_detect_ssl(
780 stream_,
781 buffer_,
782 beast::bind_front_handler(
783 &detect_session::on_detect,
784 this->shared_from_this()));
785 }
786
787 void
788 on_detect(beast::error_code ec, bool result)

Callers

nothing calls this directly

Calls 2

async_detect_sslFunction · 0.85
bind_front_handlerFunction · 0.85

Tested by

no test coverage detected