range (property)

The byte-range to be sent to the server.

Syntax

@property (nonatomic,readwrite,assign,getter=range,setter=setRange:) NSString* range;
- (NSString*)range;
- (void)setRange:(NSString*)newRange;
public var range: String {
  get {...}
set {...} }

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) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]