Ethan Lynn
Ethan Lynn
It's just another uri scheme, just replace "nats://" with "ws://" or "wss://" in client side. https://docs.nats.io/running-a-nats-service/configuration/websocket https://nats.io/blog/getting-started-nats-ws/
Yes, ws/wss is not unique. Is it possible to use "nats-ws://" and "nats-wss://" for alias?
The background is that I setup a k3s with traefik, and installed k3s server on it, but I didn't expose NATS 4222 port, but instead expose nats-server websocket service via...
The server needs to understand the schema, it supports "nats://" , "ws://" and "wss://", to setup the nats server , needs to specific enable websocket support. And the client side...