<PackageReference Include="System.ClientModel" Version="1.1.0-beta.7" />

PipelineRequest

public abstract class PipelineRequest : IDisposable
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.
using System.Runtime.CompilerServices; namespace System.ClientModel.Primitives { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] public abstract class PipelineRequest : IDisposable { [System.Runtime.CompilerServices.Nullable(1)] public string Method { [System.Runtime.CompilerServices.NullableContext(1)] get { return MethodCore; } [System.Runtime.CompilerServices.NullableContext(1)] set { MethodCore = value; } } [System.Runtime.CompilerServices.Nullable(1)] protected abstract string MethodCore { [System.Runtime.CompilerServices.NullableContext(1)] get; [System.Runtime.CompilerServices.NullableContext(1)] set; } public Uri Uri { get { return UriCore; } set { UriCore = value; } } protected abstract Uri UriCore { get; set; } [System.Runtime.CompilerServices.Nullable(1)] public PipelineRequestHeaders Headers { [System.Runtime.CompilerServices.NullableContext(1)] get { return HeadersCore; } } [System.Runtime.CompilerServices.Nullable(1)] protected abstract PipelineRequestHeaders HeadersCore { [System.Runtime.CompilerServices.NullableContext(1)] get; } public BinaryContent Content { get { return ContentCore; } set { ContentCore = value; } } protected abstract BinaryContent ContentCore { get; set; } public abstract void Dispose(); } }