195 stringBuilder.
Append(
"StatusCode: ");
197 stringBuilder.
Append(
", ReasonPhrase: '");
199 stringBuilder.
Append(
"', Version: ");
201 stringBuilder.
Append(
", Content: ");
207 stringBuilder.
AppendLine(
", Trailing Headers:");
215 foreach (
char c
in value)
217 if (c ==
'\r' || c ==
'\n')
225 protected virtual void Dispose(
bool disposing)
static void SuppressFinalize(object obj)
static CultureInfo InvariantCulture
static string Get(HttpStatusCode code)
static readonly Version Version11
virtual void Dispose(bool disposing)
HttpRequestMessage _requestMessage
void SetReasonPhraseWithoutValidation(string value)
override string ToString()
static Version DefaultResponseVersion
void SetVersionWithoutValidation(Version value)
void StoreReceivedTrailingHeaders(HttpResponseHeaders headers)
HttpResponseHeaders _trailingHeaders
HttpResponseMessage(HttpStatusCode statusCode)
void SetStatusCodeWithoutValidation(HttpStatusCode value)
bool ContainsNewLineCharacter(string value)
HttpStatusCode StatusCode
virtual void Dispose(bool disposing)
HttpRequestMessage? RequestMessage
HttpResponseHeaders _headers
HttpStatusCode _statusCode
HttpResponseHeaders TrailingHeaders
HttpResponseMessage EnsureSuccessStatusCode()
static readonly System.Net.NetEventSource Log
static void Associate(object first, object second, [CallerMemberName] string memberName=null)
static void ContentNull(object obj)
static string Format(string resourceFormat, object p1)
static string net_http_message_not_success_statuscode
static string net_http_reasonphrase_format_error
StringBuilder AppendLine()
override string ToString()
StringBuilder Append(char value, int repeatCount)