4 references to net_http_content_writeonly_stream
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (4)
1523
public override int Read(Span<byte> buffer) => throw new NotSupportedException(SR.
net_http_content_writeonly_stream
);
1525
public override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken) => ValueTask.FromException<int>(new NotSupportedException(SR.
net_http_content_writeonly_stream
));
1527
public override void CopyTo(Stream destination, int bufferSize) => throw new NotSupportedException(SR.
net_http_content_writeonly_stream
);
1529
public override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) => Task.FromException(new NotSupportedException(SR.
net_http_content_writeonly_stream
));