4 writes to _sendRequestTask
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (4)
1101
_sendRequestTask
= SendRequest(async: true, new RequestStreamContent(getStreamTcs, completeTcs));
1229
_sendRequestTask
= async || !AllowWriteStreamBuffering ?
1248
_sendRequestTask
= SendRequest(async, new ByteArrayContent(buffer.Array!, buffer.Offset, buffer.Count));
1251
_sendRequestTask
??= SendRequest(async);
6 references to _sendRequestTask
System.Net.Requests (6)
System\Net\HttpWebRequest.cs (6)
891
return (
_sendRequestTask
!= null) && (
_sendRequestTask
.IsCompletedSuccessfully);
1233
return
_sendRequestTask
!;
1245
if (
_sendRequestTask
is null && _requestStream is RequestBufferingStream requestBufferingStream)
1255
HttpResponseMessage responseMessage = await
_sendRequestTask
.ConfigureAwait(false);
1562
return
_sendRequestTask
!= null;