Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
While尽管 [link beast.ref.boost__beast__basic_stream `basic_stream`]and和 [link beast.ref.boost__beast__basic_stream `tcp_stream`]support timeouts on general logical operations, the webs支持对常规逻辑操作设置超时,但 WebSocketstream has a more sophisticated timeout mechanism built-in which may be enabled and configured. The timeout features of the TCP or basic stream should not be used when working with a websocket stream. The interface to these timeout features is shown in this table.流内置了更复杂的超时机制,可以启用并进行配置。在使用 WebSocket 流时,不应使用 TCP 或基础流的超时功能。这些超时功能的接口如下表所示。