Page 1 of 1

Connect to PB Websocket server

Posted: Thu May 04, 2023 12:43 am
by lesserpanda
Hello guys,

As I dive deeper into PB/SB world ... I have to say I am enjoying it.

So I have a structure,
Backend:
- PB (running web socket server)
Client:
- SB (using OpenWebSocket() to connect back to PB)
- SvelteKit (using websocket as well to PB)

All good here.
I was just trying to do the same with a PB (front end app) to connect to the PB web socket server.
Well, there's no OpenWebSocket() in PB so I was looking at OpenNetworkConnection()

However, I can't mimic a websocket client and send information through.

Does anyone know how to manage this?

Thank you

Re: Connect to PB Websocket server

Posted: Thu May 04, 2023 6:35 am
by infratec