Class HttpRequestMessageWrapper
Wrapper around HttpRequestMessage type that copies properties of HttpRequestMessage so that they are available after the HttpClient gets disposed.
Inherited Members
Namespace: k8s.Autorest
Assembly: KubernetesClient.dll
Syntax
public class HttpRequestMessageWrapper : HttpMessageWrapper
Constructors
View SourceHttpRequestMessageWrapper(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 SourceMethod
Gets or sets the HTTP method used by the HTTP request message.
Declaration
public HttpMethod Method { get; protected set; }
Property Value
| Type | Description |
|---|---|
| HttpMethod |
RequestUri
Gets or sets the Uri used for the HTTP request.
Declaration
public Uri RequestUri { get; protected set; }
Property Value
| Type | Description |
|---|---|
| Uri |