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

Method session

example/websocket/client/async/websocket_client_async.cpp:51–56  ·  view source on GitHub ↗

Resolver and socket require an io_context

Source from the content-addressed store, hash-verified

49public:
50 // Resolver and socket require an io_context
51 explicit
52 session(net::io_context& ioc)
53 : resolver_(net::make_strand(ioc))
54 , ws_(net::make_strand(ioc))
55 {
56 }
57
58 // Start the asynchronous operation
59 void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected