Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
The[link beast.ref.boost__beast__websocket__stream `stream`]member functions的成员函数 [link beast.ref.boost__beast__websocket__stream.accept `accept`]and和 [link beast.ref.boost__beast__websocket__stream.async_accept `async_accept`]are used to read the WebSocket HTTP Upgrade request handshake from a stream already connected to an incoming peer, and then send the WebSocket HTTP Upgrade response, as shown:用于从已连接入站对端的流中读取 WebSocket HTTP 升级请求握手,然后发送 WebSocket HTTP 升级响应,用法如下: