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

Method session

example/http/client/async/http_client_async.cpp:52–57  ·  view source on GitHub ↗

Objects are constructed with a strand to ensure that handlers do not execute concurrently.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected