<PackageReference Include="Azure.Core" Version="1.47.1" />

MultipartReader

public const int DefaultHeadersCountLimit = 16

public const int DefaultHeadersLengthLimit = 16384

public long? BodyLengthLimit { get; set; }

The optional limit for the total response body length.

public bool ExpectBoundariesWithCRLF { get; set; }

Sets whether the reader will always expect CRLF around boundaries.

public int HeadersCountLimit { get; set; }

The limit for the number of headers to read.

public int HeadersLengthLimit { get; set; }

The combined size limit for headers per multipart section.

public MultipartReader(string boundary, Stream stream)

public MultipartReader(string boundary, Stream stream, int bufferSize)

public Task<MultipartSection> ReadNextSectionAsync(CancellationToken cancellationToken = default)