Is there any case where a relay is not using a ws:// or wss:// uri?

In other words, are there other uri schemes that are just proxies to the websocket protocol?

Reply to this note

Please Login to reply.

Discussion

I think you can use http(s) as well and have a proxy handling the switch over to websockets. I haven't seen any public relays doing that though...

In my hacky and half built by ChatGPT bridge script it doesn't expressly use ws:// / wss:// and works with or without it depending on the client. Though it's not really a relay, it's just pretending to be one but is actually just a websocket server that accepts the NEvents and yeets them over to other servers using their prospective APIs.

Not sure if that's relevant or not to the question.