15 references to FormReader
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
FormReaderBenchmark.cs (1)
21var formReader = new FormReader(stream);
Microsoft.AspNetCore.WebUtilities.Tests (14)
FormReaderTests.cs (14)
18var formCollection = await ReadFormAsync(new FormReader(body)); 30var formCollection = await ReadFormAsync(new FormReader(body)); 43var formCollection = await ReadFormAsync(new FormReader(body)); 55var formCollection = await ReadFormAsync(new FormReader(body)); 68var formCollection = await ReadFormAsync(new FormReader(body) { ValueCountLimit = 3 }); 84() => ReadFormAsync(new FormReader(body) { ValueCountLimit = 3 })); 96() => ReadFormAsync(new FormReader(body) { ValueCountLimit = 3 })); 107var formCollection = await ReadFormAsync(new FormReader(body) { KeyLengthLimit = 10 }); 123() => ReadFormAsync(new FormReader(body) { KeyLengthLimit = 10 })); 134var formCollection = await ReadFormAsync(new FormReader(body) { ValueLengthLimit = 10 }); 150() => ReadFormAsync(new FormReader(body) { ValueLengthLimit = 10 })); 161var reader = new FormReader(body); 183var reader = new FormReader(body); 200var form = await ReadFormAsync(new FormReader(body));