MultipartReader Class¶
- Namespace
Microsoft.AspNetCore.WebUtilities
- Assemblies
- Microsoft.AspNetCore.WebUtilities
Methods¶
-
ReadNextSectionAsync
(System.Threading.CancellationToken)¶ Return type: System.Threading.Tasks.Task<Microsoft.AspNetCore.WebUtilities.MultipartSection> public Task<MultipartSection> ReadNextSectionAsync(CancellationToken cancellationToken = null)
-
Constructors¶
-
MultipartReader
(System.String, System.IO.Stream)¶ public MultipartReader(string boundary, Stream stream)
-
MultipartReader
(System.String, System.IO.Stream, System.Int32) public MultipartReader(string boundary, Stream stream, int bufferSize)
-
Properties¶
-
Microsoft.AspNetCore.WebUtilities.MultipartReader.
BodyLengthLimit
¶ The optional limit for the total response body length.
Return type: System.Nullable<System.Int64> public long ? BodyLengthLimit { get; set; }
-
Microsoft.AspNetCore.WebUtilities.MultipartReader.
HeadersCountLimit
¶ The limit for the number of headers to read.
Return type: System.Int32 public int HeadersCountLimit { get; set; }
-
Microsoft.AspNetCore.WebUtilities.MultipartReader.
HeadersLengthLimit
¶ The combined size limit for headers per multipart section.
Return type: System.Int32 public int HeadersLengthLimit { get; set; }
-