Hi,
Using the below code to connect and get data from a server:
Class SX3.Production.HTTP.AdvCredenials Extends (%RegisteredObject, %Net.WebSocket.ICredentials)
{Method GetUsername() As %String
{
quit ""
}/// Returns the password to use for authentication with the web socket
/// @API.Overrideable
Method GetPassword() As %String
{
quit ""
}Method GetSSLConfiguration() As %String
{
q "RTLS"
}}
Class SX3.Production.HTTP.AdvListener Extends (%RegisteredObject, %Net.WebSocket.IEventListener)
{Method OnOpen()
{
S ^badis("mess",3)=1
if $increment(%ct("O")) set io=$io use 0 write "OPEN",! break:$get(%b) use io
}Hi,Using the below code to connect and get data from a server: Class SX3.Production.HTTP.AdvCredenials Extends (%RegisteredObject, %Net.WebSocket.ICredentials){ Method GetUsername() As %String{quit ""} /// Returns the password to use for authentication with the web socket/// @API.OverrideableMethod GetPassword() As %String{quit ""} Method GetSSLConfiguration() As %String{q "RTLS"}} Class SX3.Production.HTTP.AdvListener Extends (%RegisteredObject, %Net.WebSocket.IEventListener){ Method OnOpen(){ S ^badis("mess",3)=1if $increment(%ct("O")) set io=$io use 0 write "OPEN",!


.png)
.png)
.png)
.png)