Can Losant receive websocket data from ground device?

I am using a simulator which support websocket protocol.
Currently it is send to my localhost Java program.
Can i use the same simulator to send data to Losant Platform via websocket?

Appreciate help and advice.

Losant does not have first-class support for ingesting data over a websocket connection, though this is a feature request we have received in the past. I will add your +1 to that request. (We do support connecting to our MQTT broker over ws or wss protocols, but I do not think that will help in your use case.)

Instead, you could send the data to Losant over a webhook request, through our MQTT broker, or one of our other supported integration.