Вопрос

I have a python autobahn script (websock) running and working perfectly with the browser, i need to send data from another server running PHP to the python server. is there any PHP websock clients that are compatible with the latest autobahn (websock) protocol ?

i have tried some, but neither worked like this one

https://github.com/lemmingzshadow/php-websocket/blob/master/client/test_server.php

it didn't !

Это было полезно?

Решение

Ronan,

Take a look at the Thruway project. It's a WAMPv2 PHP client/server that's compatible with the current version of autobahn.js.

You can also find more information on how to create a simple PHP client here.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top