1 write to ContentLength
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
1518
ContentLength
= contentLength;
3 references to ContentLength
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (3)
229
if (writeStream.BytesWritten < writeStream.
ContentLength
)
232
throw new HttpRequestException(SR.Format(SR.net_http_request_content_length_mismatch, writeStream.BytesWritten, writeStream.
ContentLength
));
1535
if ((ulong)BytesWritten > (ulong)
ContentLength
) // If ContentLength == -1, this will always be false