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

Method run

example/http/server/flex/http_server_flex.cpp:366–377  ·  view source on GitHub ↗

Start the asynchronous operation

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 2

bind_front_handlerFunction · 0.85
get_executorMethod · 0.45

Tested by

no test coverage detected