-
Notifications
You must be signed in to change notification settings - Fork 421
Open
Description
From what I understand, the field mMaxMessagePayloadSize of WebSocketOptions is used for the maximum size of a message to be sent, while the field mMaxFramePayloadSize is the maximum size of a fragment of the message, in case the message need to be splitted. Is that correct?
If yes, I would like to be able to set mMaxMessagePayloadSize to 16MB and mMaxFramePayloadSize to something much smaller, like 128KB.
But from what I see, when calling the connect() method of the Client class:

I can only pass the mMaxFramePayloadSize in the TransportOptions.
Is there a reason why we cannot pass the mMaxMessagePayloadSize as well?
Am I missing something?
UtkarshBhatt