Skip to content

Add ReadOnlyBufferContent for HttpClient #22922

@stephentoub

Description

@stephentoub

Separated out of https://github.com/dotnet/corefx/issues/21281 for tracking purposes.

  • Implement in System.Net.Http in corefx
  • Expose from System.Net.Http contract in corefx
  • Add tests to System.Net.Http tests in corefx
namespace System.Net.Http
{
    public sealed class ReadOnlyBufferContent : HttpContent
    {
        public ReadOnlyBufferContent(ReadOnlyBuffer<byte> buffer);// override relevant members of HttpContent
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions