1 write to _reader
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
26
_reader
= new StreamReader(_stream, encoding ?? Encoding.ASCII);
4 references to _reader
Sockets.FunctionalTests (4)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (4)
31
public StreamReader Reader =>
_reader
;
104
var task =
_reader
.ReadAsync(actual, offset, actual.Length - offset);
133
var count = await
_reader
.ReadAsync(ch, 0, 128).TimeoutAfter(Timeout).ConfigureAwait(false);
146
$"Expected connection close, received data instead: \"{
_reader
.CurrentEncoding.GetString(buffer, 0, bytesTransferred)}\"");