iOS Question How can i change the setMaxMessagePayloadSize value in WebSocketOptions

Modern_Digital

Member
Licensed User
Hi,

I have code to change the setMaxMessagePayloadSize value in WebSocketOptions but for android not for ios :

B4X:
Dim jo As JavaObject = WebSocket1
jo = jo.GetField("options") 'WebSocketOptions
jo.RunMethod("setMaxMessagePayloadSize", Array(4 * 1024 * 1024)) '4mb
i want to convert this code to make it work in ios.

thank you.
 

Modern_Digital

Member
Licensed User
Thank you Erel, no I did not encounter any error only I thought this feature is in the library iWebsocket and I do not want to get errors when I using it.
 
Top