Hi Guys,
I'm trying to use %Net.WebSocket.Client to collect data from a sever,
.png)
and part of that I needed to implement Two classes (SX3.Production.HTTP.AdvCredenials & SX3.Production.HTTP.AdvListener) as below for the purpose of Credentials & EventListener properties,
Class SX3.Production.HTTP.AdvCredenials Extends %Net.WebSocket.ICredentials
{
Method GetPassword() As %String
{
q ""
}
Method GetUsername() As %String
{
q ""
}
Method GetSSLConfiguration() As %String
{
q "MySSL"
}
}
Class SX3.Production.HTTP.AdvListener Extends %Net.WebSocket.IEventListener
{
Method OnMessage(pContent As %Stream.



.png)
.png)


.png)
.png)