MCPcopy Create free account
hub / github.com/boostorg/asio / do_handshake

Method do_handshake

example/cpp11/ssl/server.cpp:33–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32private:
33 void do_handshake()
34 {
35 auto self(shared_from_this());
36 socket_.async_handshake(boost::asio::ssl::stream_base::server,
37 [this, self](const boost::system::error_code& error)
38 {
39 if (!error)
40 {
41 do_read();
42 }
43 });
44 }
45
46 void do_read()
47 {

Callers

nothing calls this directly

Calls 2

do_readFunction · 0.85
async_handshakeMethod · 0.80

Tested by

no test coverage detected