How to send data to losant platform over websocket

I created a Gateway device in losant to which I want to send data by websocket-client (eg. I am able to send data through MQTT client as given in Documentation. But I need help in sending data by WebSocket.

Losant does not have first-class support for receiving data via websocket connection. As you’ve mentioned, we do support connections to our MQTT broker over ws or wss protocols. Alternative options are to send the data to Losant via webhook request or one of our other supported integrations.

I will file this as a feature request and follow up on this thread if I have any updates.

Thanks, @Sebastian_Turner for the clarification.