1 write to _stream
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
25
_stream
= stream;
8 references to _stream
Sockets.BindTests (8)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (8)
26
_reader = new StreamReader(
_stream
, encoding ?? Encoding.ASCII);
29
public Stream Stream =>
_stream
;
39
_stream
.Dispose();
71
var writer = new StreamWriter(
_stream
, Encoding.GetEncoding("iso-8859-1"));
74
await
_stream
.FlushAsync().ConfigureAwait(false);
80
var writer = new StreamWriter(
_stream
, Encoding.GetEncoding("iso-8859-1"));
90
await
_stream
.FlushAsync().ConfigureAwait(false);
141
var bytesTransferred = await
_stream
.ReadAsync(buffer, 0, 128).ContinueWith(t => t.IsFaulted ? 0 : t.Result).TimeoutAfter(Timeout);