1 write to httpWebRequest
System.ServiceModel (1)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
2384
this.
httpWebRequest
= httpWebRequest;
33 references to httpWebRequest
System.ServiceModel (33)
System\ServiceModel\Channels\HttpChannelHelpers.cs (33)
2390
httpWebRequest
.Abort();
2396
httpWebRequest
.Headers[HttpChannelUtilities.MIMEVersionHeader] = version;
2401
httpWebRequest
.Headers.Add(name, value);
2406
httpWebRequest
.ContentType = contentType;
2411
this.
httpWebRequest
.Headers.Add(HttpChannelUtilities.ContentEncodingHeader, contentEncoding);
2419
httpWebRequest
.ContentLength = contentLength;
2479
outputStream =
httpWebRequest
.GetRequestStream(out context);
2484
outputStream =
httpWebRequest
.GetRequestStream();
2487
outputStream = new WebRequestOutputStream(outputStream,
httpWebRequest
, this);
2493
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(HttpChannelUtilities.CreateRequestWebException(webException,
httpWebRequest
, abortReason));
2499
return new GetOutputStreamAsyncResult(
httpWebRequest
, this, callback, state);
2532
httpWebRequest
.Method = requestProperty.Method;
2542
httpWebRequest
.Accept = value;
2548
httpWebRequest
.KeepAlive = true;
2552
httpWebRequest
.Connection = value;
2576
httpWebRequest
.ContentType = value;
2583
httpWebRequest
.ServicePoint.Expect100Continue = true;
2587
httpWebRequest
.Expect = value;
2597
httpWebRequest
.Referer = value;
2603
httpWebRequest
.SendChunked = true;
2607
httpWebRequest
.TransferEncoding = value;
2612
httpWebRequest
.UserAgent = value;
2619
httpWebRequest
.IfModifiedSince = modifiedSinceDate;
2641
httpWebRequest
.Headers.Add(name, value);
2650
httpWebRequest
.Headers["SOAPAction"] = action;
2659
if (
httpWebRequest
.ContentType.Contains("action")
2660
||
httpWebRequest
.ContentType.ToUpperInvariant().IndexOf("ACTION", StringComparison.OrdinalIgnoreCase) != -1)
2664
ContentType parsedContentType = new ContentType(
httpWebRequest
.ContentType);
2679
new ProtocolException(SR.GetString(SR.HttpContentTypeFormatException, formatException.Message,
httpWebRequest
.ContentType), formatException));
2686
httpWebRequest
.ContentType = string.Format(CultureInfo.InvariantCulture, "{0}; action={1}",
httpWebRequest
.ContentType, action);
2702
httpWebRequest
.SendChunked = false;
2707
httpWebRequest
.SendChunked = true;