Show / Hide Table of Contents

Class HttpMessageWrapper

Base class used to wrap HTTP requests and responses to preserve data after disposal of HttpClient.

Inheritance
object
HttpMessageWrapper
HttpRequestMessageWrapper
HttpResponseMessageWrapper
Inherited Members
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 abstract class HttpMessageWrapper

Constructors

View Source

HttpMessageWrapper()

Initializes a new instance of the HttpMessageWrapper class.

Declaration
protected HttpMessageWrapper()

Properties

View Source

Content

Exposes the HTTP message contents.

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

Headers

Gets the collection of HTTP headers.

Declaration
public IDictionary<string, IEnumerable<string>> Headers { get; }
Property Value
Type Description
IDictionary<string, IEnumerable<string>>

Methods

View Source

CopyHeaders(HttpHeaders)

Copies HTTP message headers to the error object.

Declaration
protected void CopyHeaders(HttpHeaders headers)
Parameters
Type Name Description
HttpHeaders headers

Collection of HTTP headers.

  • View Source
In this article
Back to top Generated by DocFX