Range Property
The byte-range to be sent to the server.
Syntax
ANSI (Cross Platform) char* GetRange();
int SetRange(const char* lpszRange); Unicode (Windows) LPWSTR GetRange();
INT SetRange(LPCWSTR lpszRange);
@property (nonatomic,readwrite,assign,getter=range,setter=setRange:) NSString* range; - (NSString*)range; - (void)setRange:(NSString*)newRange;
#define PID_HTTP_RANGE 43 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_HTTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_HTTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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 |
Data Type
String