public virtual HttpRequest SetContent(byte[] content, string contentType) { if (content != null && content.Length > 0) Content = new BytesContent(content, contentType); return this; }
public virtual HttpRequest SetContent(byte[] content, string contentType) { if (content != null && content.Length > 0) { Content = new BytesContent(content, contentType); } return(this); }