Skip to content

SetFileFragment

Sets the buffer size for partial upload fragment size.

1
myRestRequest.SetFileFragment(size: number):RestRequest

Parameters

number size
    The size of the fragment.

Returns

The current RestRequest instance.

Remarks

This method is used to send file uploads in small fragments (chunks).
Before using this method, ensure that the target REST service supports the "Content-Range" header.

See Also