websocket++序列: Handler
【今日推荐】:为什么一到面试就懵逼!>>> 1. Connection Handlers: 同连接相关的Handler Event Signature Version Socket Initial: 套接字初始化 socket_init(connection_hdl, asio::ip::tcp::socket&) >0.3.0 Asio Transport TCP established, no data sent: TCP创建,非数据传输 tcp_pre_init(connection_hdl) >0.3.0 Asio Transport Request for TLS context: 请求TLS Context tls_context_ptr tls_init(connection_hdl) >0.3.0 Asio Transport With TLS Hook to accept or reject a connection: 接受或拒接连接 bool validate(connection_hdl) >0.3.0 Core, Server Role only Successful new connection( opening ):连接打开 open(connection_hdl) >0.3.0 Core Connection failed ( before