Connect to PB Websocket server

Just starting out? Need help? Post your questions and find answers here.
lesserpanda
User
User
Posts: 65
Joined: Tue Feb 11, 2020 7:50 am

Connect to PB Websocket server

Post 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
infratec
Always Here
Always Here
Posts: 7579
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Connect to PB Websocket server

Post by infratec »

Post Reply