Show / Hide Table of Contents

Class PipelineRequest

Represents an HTTP request to be sent to a cloud service. The type of a PipelineRequest is specific to the type of the PipelineTransport used by the ClientPipeline that sends the request. Because of this, CreateMessage() is used to create an instance of PipelineRequest for a given pipeline.

Inheritance
System.Object
PipelineRequest
Namespace: System.Dynamic.ExpandoObject
Assembly: System.ClientModel.dll
Syntax
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(2)]
public abstract class PipelineRequest : IDisposable

Constructors

PipelineRequest()

Declaration
protected PipelineRequest ();

Properties

Content

Gets or sets the contents of the HTTP request.

Declaration
public System.ClientModel.BinaryContent Content { get; set; }
Property Value
BinaryContent

ContentCore

Gets or sets the derived-type's value of the request's Content.

Declaration
protected abstract System.ClientModel.BinaryContent ContentCore { get; set; }
Property Value
BinaryContent

Headers

Gets the collection of HTTP request headers.

Declaration
[System.Runtime.CompilerServices.Nullable(1)]
[get: System.Runtime.CompilerServices.NullableContext(1)]
public System.ClientModel.Primitives.PipelineRequestHeaders Headers { get; }
Property Value
PipelineRequestHeaders

HeadersCore

Gets or sets the derived-type's value of the request's Headers collection.

Declaration
[System.Runtime.CompilerServices.Nullable(1)]
[get: System.Runtime.CompilerServices.NullableContext(1)]
protected abstract System.ClientModel.Primitives.PipelineRequestHeaders HeadersCore { get; }
Property Value
PipelineRequestHeaders

Method

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

Declaration
[System.Runtime.CompilerServices.Nullable(1)]
[get: System.Runtime.CompilerServices.NullableContext(1)]
[set: System.Runtime.CompilerServices.NullableContext(1)]
public string Method { get; set; }
Property Value
System.String

MethodCore

Gets or sets the derived-type's value of the request's Method.

Declaration
[System.Runtime.CompilerServices.Nullable(1)]
[get: System.Runtime.CompilerServices.NullableContext(1)]
[set: System.Runtime.CompilerServices.NullableContext(1)]
protected abstract string MethodCore { get; set; }
Property Value
System.String

Uri

Gets or sets the System.Uri used for the HTTP request.

Declaration
public Uri Uri { get; set; }
Property Value
System.Uri

UriCore

Gets or sets the derived-type's value of the request's Uri.

Declaration
protected abstract Uri UriCore { get; set; }
Property Value
System.Uri

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public abstract void Dispose ();
Back to top Azure SDK for .NET