setUploadMtu

open fun setUploadMtu(mtu: Int): Boolean

Sets the upload MTU. This is transport independent value, so should be equal to the maximum length of a packet with selected transport.

Return

True if the upload has been set, false otherwise.

Parameters

mtu

the MTU to use for packets.