Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
Like a regular __Asio__ socket, a与普通的 Asio 套接字类似,[link beast.ref.boost__beast__websocket__stream`stream`]is not thread safe. Callers are responsible for synchronizing operations on the socket using an implicit or explicit strand, as per the Asio documentation. The webs不是线程安全的。调用方需要按照 Asio 文档的要求,使用隐式或显式的串行器来同步套接字操作。WebSocketstream asynchronous interface supports one of each of the following operations to be active at the same time:流的异步接口支持以下各类操作同时各有一个处于活动状态: