Hi
I have set two websocket with same class.
when they connected, How to check their source ? it is from "/report/ws" Or from "history/ws"
I have set two websocket with same class.
B4X:
srvr.AddWebSocket("/report/ws", "DatePicker")
srvr.AddWebSocket("/history/ws", "DatePicker")
when they connected, How to check their source ? it is from "/report/ws" Or from "history/ws"
B4X:
Private Sub WebSocket_Connected (WebSocket1 As WebSocket)
ws = WebSocket1
'call the set date function we created
DatePicker.SetVal(DateTime.Date(DateTime.Now))
End Sub