<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                [textalk\websocket](https://github.com/Textalk/websocket-php) ## Documentation * [Client](https://github.com/Textalk/websocket-php/blob/master/docs/Client.md) * [Server](https://github.com/Textalk/websocket-php/blob/master/docs/Server.md) * [Message](https://github.com/Textalk/websocket-php/blob/master/docs/Message.md) * [Examples](https://github.com/Textalk/websocket-php/blob/master/docs/Examples.md) * [Changelog](https://github.com/Textalk/websocket-php/blob/master/docs/Changelog.md) * [Contributing](https://github.com/Textalk/websocket-php/blob/master/docs/Contributing.md) ## 安裝 ~~~ composer require textalk/websocket ~~~ * 當前版本支持php`^7.2|8.0`. * PHP`7.1`支持版本為`1.4`. * PHP`^5.4`和`7.0`支持版本為`1.3` ## Client 客戶端可以讀取和寫入 WebSocket 流。 它內部支持升級握手和隱式關閉和乒乓操作。 ~~~ $client = new WebSocket\Client("ws://echo.websocket.org/"); $client->text("Hello WebSocket.org!"); echo $client->receive(); $client->close(); ~~~ ## Server 該庫包含一個基本的單流/單線程服務器。 它內部支持升級握手和隱式關閉和乒乓操作。 請注意,它不支持線程或連續客戶端請求的自動關聯。 如果您需要這種服務器行為,則需要在提供的服務器實現之上構建它。 ~~~html $server = new WebSocket\Server(); $server->accept(); $message = $server->receive(); $server->text($message); $server->close(); ~~~ ## swoole+websocket+textalk+ssl+https](http://www.manongjc.com/detail/19-znpvpqoidqzashs.html)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看