Exemplo n.º 1
0
 /// <summary>
 /// Specifies the range header.
 /// </summary>
 /// <param name="range">The header value.</param>
 /// <returns>Itself.</returns>
 public Http SetRange(int range)
 {
     WebReq.AddRange(range);
     return(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Specifies the range header.
 /// </summary>
 /// <param name="from">The start range value.</param>
 /// <param name="to">The end range value.</param>
 /// <returns>Itself.</returns>
 public Http SetRange(int from, int to)
 {
     WebReq.AddRange(from, to);
     return(this);
 }