windows下,證書(shū)是正確的,用nginx代理可以正常使用;workerman版本是3.3.8;php是5.6.8,開(kāi)啟了openssl。 客戶端連接時(shí),報(bào) exception 'Exception' with message 'ssl handshake fail, stream_socket_enable_crypto return 0' in WorkerMan\workerman\Connection\Tc...
workerman里,可以這樣: $connection->websocketType = Websocket::BINARY_TYPE_ARRAYBUFFER; 但gatewayworker里,Events::onMessage里,要怎么設(shè)置connection的websocketType呢?...