Range Property

The byte-range to be sent to the server.

Syntax

public var range: String?

Default Value

""

Remarks

If this property contains a non-empty string, a Range HTTP request header is added to the request. This header tells the server to only send a certain range of bytes.

The format of this property consists of a range of bytes specified by two numbers separated by '-' (e.g. "0-499")

For example:

First 500 bytes 0-499
Second 500 bytes 500-999
Final 500 bytes -500

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]