14 references to HttpChannelUtilities
System.ServiceModel.Http (14)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
191await HttpChannelUtilities.GetCredentialAsync(_channelFactory.AuthenticationScheme, _webRequestTokenProvider, timeout);
System\ServiceModel\Channels\HttpChannelFactory.cs (5)
249(NetworkCredential credential, TokenImpersonationLevel impersonationLevel, AuthenticationLevel authenticationLevel) = await HttpChannelUtilities.GetCredentialAsync(AuthenticationScheme, 1067HttpChannelUtilities.ProcessGetResponseWebException(requestException, httpRequestMessage, 1102_httpRequestMessage.Headers.Add(HttpChannelUtilities.MIMEVersionHeader, version); 1286HttpChannelUtilities.HttpRequestHeadersTypeName), 1389(NetworkCredential credential, TokenImpersonationLevel impersonationLevel, AuthenticationLevel authenticationLevel) = await HttpChannelUtilities.GetCredentialAsync(AuthenticationScheme,
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
200exception.Data.Add(HttpChannelUtilities.HttpStatusCodeExceptionKey, statusCode); 203exception.Data.Add(HttpChannelUtilities.HttpStatusDescriptionExceptionKey, statusDescription);
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (6)
155string responseExcerpt = HttpChannelUtilities.GetResponseStreamExcerptString(contentStream, ref bytesToRead); 156throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(HttpChannelUtilities.TraceResponseException( 361if (string.Compare(statusDescription, HttpChannelUtilities.StatusDescriptionStrings.HttpContentTypeMissing, StringComparison.OrdinalIgnoreCase) == 0) 374throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(HttpChannelUtilities.CreateUnexpectedResponseException(_httpResponseMessage)); 385HttpChannelUtilities.TraceResponseException(new MessageSecurityException(message))); 392HttpChannelUtilities.TraceResponseException(new MessageSecurityException(message)));