Looking in the autobahn websocket github I noticed that the connect method allow you to insert headers, obviously the websocket wrapper doesn't allow you to set them, but can that part of the library be called by using a javaobject or with the reflection library? And what's the proper way to do it?
I tried this but it didn't work:
B4X:
Dim jo As JavaObject
jo.InitializeContext
jo = ws
jo.RunMethod("connect",Array As Object(Url,Null,Null,Null,CreateMap("Auth":"123")))