Questions tagged [thruway]

Thruway - a PHP WAMP library

Thruway is a PHP client and server library that aims to be compatible with the Autobahn project and WAMP v2 (Web Application Messaging Protocol).

23 questions
5
votes
1 answer

voryx thruway multiple publish

I need to publish messages from php script, I can publish a single message fine. But now I need to publish different messages in loop, can't find proper way how to do it, here is what I tried: $counter = 0; $closure = function…
dave101ua
  • 159
  • 1
  • 2
  • 11
3
votes
1 answer

sending messages using php with voryx Thruway WAMP messaging system

I'm trying to build a notification messaging system. Im using the SimpleWsServer.php server example. I want to push a notification to the user's browser when a task has completed on the server. This needs to be done using PHP and i cant find a…
astroanu
  • 3,901
  • 2
  • 36
  • 50
2
votes
0 answers

autobahn js + thruway php error in connection esablishment

I'm using a PHP thruway library + autobahn.js. Right now I am trying to execute the example from thruway documentation. I ran a SimpleWebRouter and tried to establish connection using autobahn.js. I changed a listener ip to 0.0.0.0:9090, but…
thalegion
  • 23
  • 5
2
votes
1 answer

How to parse message on server side with Thruway

I want to use websocket for a voting application. There is two parts: one is a chat channel and an other one is a command channel where information about the question, the available answers, the countdown etc will travel. On the client side, I use…
Guillaume
  • 133
  • 6
2
votes
2 answers

Crossbar SSL/TLS configuration with intermediate and cross-signed certificates

Using the latest version of Crossbar (0.13, installed from apt-get on Ubuntu 14.04) I am having trouble making connections using SSL and intermediate certificates. If I set up the server without a ca_certificates property in the tls key then the…
M1ke
  • 6,166
  • 4
  • 32
  • 50
2
votes
1 answer

How can I set up WAMP authentication from a Thruway client to a Crossbar router?

I'm going around in circles trying to get this to work... Here's the situation: I have a PHP web app which makes remote procedure calls (RPCs) to several microservices via a Crossbar.io router using Thruway. Anonymous calls are working perfectly,…
Kryten
  • 15,230
  • 6
  • 45
  • 68
2
votes
2 answers

How to use secure websockets (wss)?

I'm using AutobahnJS and Thruway on my website and everything works fine using a nonencrypted connection: var connection = new autobahn.Connection({ url: 'ws://www.example.com:9090', …
Nate
  • 26,164
  • 34
  • 130
  • 214
2
votes
1 answer

Client not receiving published events using demo code?

I'm trying out Thruway and am having trouble getting the demo code to work. Javascript code: