I want to consume external websocket api, URL looks like this:
Checked with external tool (Simple WebSocket Client) that websocket works and I can consume the data.
In Cache the relevant functionality is offered by %IO.Socket class.
set sock = ##class(%IO.Socket).%New() set sock.SSLConfig = "MyEmptySSLConfig" set sock.TranslationTable="UTF8" do sock.Open("site.com/ws/v2/?&token=<token>","443", 10,.sc)
However I get this error: