File tree Expand file tree Collapse file tree
Source/HttpMultipartParser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public class StreamingBinaryMultipartFormDataParser : IStreamingBinaryMultipartF
5858 private readonly ParserOptions _options ;
5959
6060 /// <summary>
61- /// The boundary of the multipart message as a string.
61+ /// The boundary of the multipart message as a string.
6262 /// </summary>
6363 private string boundary ;
6464
@@ -242,12 +242,12 @@ public async Task RunAsync(CancellationToken cancellationToken = default)
242242 /// <summary>
243243 /// Gets the binary buffer size.
244244 /// </summary>
245- public int BinaryBufferSize { get ; private set ; }
245+ public int BinaryBufferSize => _options . BinaryBufferSize ;
246246
247247 /// <summary>
248248 /// Gets the encoding.
249249 /// </summary>
250- public Encoding Encoding { get ; private set ; }
250+ public Encoding Encoding => _options . Encoding ;
251251
252252 /// <summary>
253253 /// Gets or sets the FileHandler. Delegates attached to this property will receive sequential file stream data from this parser.
You can’t perform that action at this time.
0 commit comments