Adds HTTP Range header to the request with 'bytes' unit.
Namespace:
Rebex.Net
Assembly:
Rebex.Http (in Rebex.Http.dll)
Syntax
Visual Basic |
---|
Public Sub AddRange ( _ from As Long, _ to As Long _ ) |
C# |
---|
public void AddRange( long from, long to ) |
Parameters
- from
- Type: System..::..Int64
The position (zero-based) from which to start the data.
- to
- Type: System..::..Int64
The position (inclusive) where the data ends.
Examples
"Range: bytes=0-0" retrieves the first byte of the data.
"Range: bytes=0-9" retrieves the first ten bytes of the data.