Select to view content in your preferred language

Custom Websocket Server + StreamLayer + ArcGIS JS 4.24

317
0
11-10-2022 03:45 AM
Koob
by
New Contributor II

Hi,

So I've managed to get an ArcGIS StreamLayer running with a custom websocketurl (Azure WebPubSub).

Is there any way for me to get access to the WebSocket connection established by the StreamLayer in order to send messages back to the server?

Trying to create some kind of Guaranteed messaging system going, so that StreamLayer can send an acknowledgment back to the server.

I'm aware of the `data-received` event that I can hook in to, when a StreamLayer receives messages, however I am struggling to get the WebSocket connection.

0 Kudos
0 Replies