Show / Hide Table of Contents

Class HttpRequestMessageWrapper

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

Inheritance
object
HttpMessageWrapper
HttpRequestMessageWrapper
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 HttpRequestMessageWrapper : HttpMessageWrapper

Constructors

View Source

HttpRequestMessageWrapper(HttpRequestMessage, string)

Initializes a new instance of the HttpRequestMessageWrapper class from HttpRequestMessage. and content.

Declaration
public HttpRequestMessageWrapper(HttpRequestMessage httpRequest, string content)
Parameters
Type Name Description
HttpRequestMessage httpRequest
string content

Properties

View Source

Method

Gets or sets the HTTP method used by the HTTP request message.

Declaration
public HttpMethod Method { get; protected set; }
Property Value
Type Description
HttpMethod
View Source

RequestUri

Gets or sets the Uri used for the HTTP request.

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