/// <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); }
/// <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); }