Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
has a functional HTTP server in the example directory. The server supports both在示例目录中提供功能完备的 HTTP 服务器。该服务器支持 HTTPand和 WebSocketusing synchronous and asynchronous shared or dedicated ports. In addition, the server supports encrypted TLS connections if OpenSSL is available, on dedicated ports. And the server comes with a "multi-port", a flexible single port which supports both encrypted and unencrypted connections, both,可通过同步或异步方式使用共享端口或专用端口。此外,若存在 OpenSSL,该服务器支持在专用端口上建立加密的 TLS 连接。该服务器提供“多端口”模式,这是一种灵活的单端口模式,可在同一端口上同时支持加密与非加密连接,以及 HTTPand和 WebSocket, all on the same port. The server is not part of Beast's public interfaces, as that functionality is outside the scope of the library. The author feels that attempting to broaden the scope of the library will reduce its appeal for standardization.。该服务器未纳入 Beast 的公共接口,因为相关功能超出该库的范畴。作者认为,试图扩大库的范围会降低其标准化的吸引力。