Show / Hide Table of Contents

Class HttpResponseMessageWrapper

Wrapper around HttpResponseMessage type that copies properties of HttpResponseMessage so that they are available after the HttpClient gets disposed.

Inheritance
object
HttpMessageWrapper
HttpResponseMessageWrapper
Inherited Members
HttpMessageWrapper.CopyHeaders(HttpHeaders)
HttpMessageWrapper.Content
HttpMessageWrapper.Headers
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.Autorest
Assembly: KubernetesClient.dll
Syntax
public class HttpResponseMessageWrapper : HttpMessageWrapper

Constructors

View Source

HttpResponseMessageWrapper(HttpResponseMessage, string)

Initializes a new instance of the HttpResponseMessageWrapper class from HttpResponseMessage. and content.

Declaration
public HttpResponseMessageWrapper(HttpResponseMessage httpResponse, string content)
Parameters
Type Name Description
HttpResponseMessage httpResponse
string content

Properties

View Source

ReasonPhrase

Exposes the reason phrase, typically sent along with the status code.

Declaration
public string ReasonPhrase { get; protected set; }
Property Value
Type Description
string
View Source

StatusCode

Gets or sets the status code of the HTTP response.

Declaration
public HttpStatusCode StatusCode { get; protected set; }
Property Value
Type Description
HttpStatusCode
  • View Source
In this article
Back to top Generated by DocFX