Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
It is possible for servers to read data from the stream and decide later that the buffered bytes should be interpreted as a WebSocket upgrade request. To address this usage, overloads of服务器可能会先读取流中的数据,稍后才决定将这些已缓冲的字节作为 WebSocket 升级请求来处理。为此,该库提供了 [link beast.ref.boost__beast__websocket__stream.accept `accept`]and和 [link beast.ref.boost__beast__websocket__stream.async_accept `async_accept`]which accept an additional buffer sequence parameter are provided.的重载版本,它们接受一个额外的缓冲区序列参数。