// TODO hrm public HttpWebRequest Build(HttpOptions options) { var request = (HttpWebRequest) WebRequest.Create(options.BaseUri); request.Method = options.Method; PrepareRequestStream(options, request); PrepareAuthentication(options, request); options.Configure(request); return request; }
// TODO hrm public HttpWebRequest Build(HttpOptions options) { var request = (HttpWebRequest)WebRequest.Create(options.BaseUri); request.Method = options.Method; PrepareRequestStream(options, request); PrepareAuthentication(options, request); options.Configure(request); return(request); }
public HttpWebRequest Build(HttpOptions options) { var result = (HttpWebRequest) WebRequest.Create(options.BaseUri); options.Configure(result); return result; }