5 instantiations of ConnectStream
System (5)
net\System\Net\_Connection.cs (5)
988
ConnectStream writeStream = new
ConnectStream
(this, request);
1190
request.SetRequestSubmitDone(new
ConnectStream
(this, request));
2430
m_ResponseData.m_ConnectStream = new
ConnectStream
(this, m_ReadBuffer, m_BytesScanned, bufferLeft, bufferLeft, fHaveChunked, m_CurrentRequest);
2438
m_ResponseData.m_ConnectStream = new
ConnectStream
(this, m_ReadBuffer, m_BytesScanned, bytesToCopy, dummyResponseStream? 0: contentLength, fHaveChunked, m_CurrentRequest);
2446
m_ResponseData.m_ConnectStream = new
ConnectStream
(this, m_ReadBuffer, m_BytesScanned, bufferLeft, dummyResponseStream? 0: contentLength, fHaveChunked, m_CurrentRequest);
49 references to ConnectStream
System (49)
net\System\Net\_Connection.cs (7)
755
ConnectStream
writeStream = responseObject as
ConnectStream
;
988
ConnectStream
writeStream = new ConnectStream(this, request);
3748
ConnectStream
connectStream = (
ConnectStream
)connectResponse.GetResponseStream();
3826
ConnectStream
connectStream = (
ConnectStream
)connectResponse.GetResponseStream();
net\System\Net\_ConnectStream.cs (7)
23
internal
ConnectStream
stream;
25
internal WriteHeadersCallbackState(HttpWebRequest request,
ConnectStream
stream){
607
internal void ResubmitWrite(
ConnectStream
oldStream, bool suppressWrite) {
1195
((
ConnectStream
) userResult.AsyncObject).ProcessWriteCallback(asyncResult, userResult);
1871
ConnectStream
thisConnectStream = (
ConnectStream
)castedAsyncResult.AsyncObject;
2104
ConnectStream
stream = state.stream;
net\System\Net\_ListenerResponseStream.cs (1)
533
chunkHeaderBuffer =
ConnectStream
.GetChunkHeader(size, out chunkHeaderOffset);
net\System\Net\Cache\_CacheStreams.cs (3)
761
while (total <
ConnectStream
.s_DrainingBuffer.Length && (bytesRead = Read(
ConnectStream
.s_DrainingBuffer, 0,
ConnectStream
.s_DrainingBuffer.Length)) > 0) {
net\System\Net\HttpWebRequest.cs (20)
232
private
ConnectStream
_SubmitWriteStream;
233
private
ConnectStream
_OldSubmitWriteStream;
1115
ConnectStream
stream = _OldSubmitWriteStream;
1483
ConnectStream
connectStream = castedAsyncResult.InternalWaitForCompletion() as
ConnectStream
;
1600
ConnectStream
connectStream = _WriteAResult.InternalWaitForCompletion() as
ConnectStream
;
1733
ConnectStream
submitStream = _SubmitWriteStream;
1924
ConnectStream
stream = _OldSubmitWriteStream != null ? _OldSubmitWriteStream : _SubmitWriteStream;
2107
private void CheckDeferredCallDone(
ConnectStream
stream)
2168
ConnectStream
stream = _OldSubmitWriteStream != null ? _OldSubmitWriteStream : _SubmitWriteStream;
2311
internal void WriteCallDone(
ConnectStream
stream, ConnectionReturnResult returnResult)
3358
internal void SetRequestSubmitDone(
ConnectStream
submitStream) {
3416
internal void WriteHeadersCallback(WebExceptionStatus errorStatus,
ConnectStream
stream, bool async)
4392
ConnectStream
chkStream = _SubmitWriteStream;
4441
ConnectStream
chkStream = _SubmitWriteStream;
4568
ConnectStream
submitWriteStream = _SubmitWriteStream;
4654
ConnectStream
chkStream = _SubmitWriteStream;
5992
ConnectStream
liveStream = _HttpResponse.ResponseStream as
ConnectStream
;
net\System\Net\HttpWebResponse.cs (6)
415
ConnectStream
connectStream = m_ConnectStream as
ConnectStream
;
461
ConnectStream
connectStream = m_ConnectStream as
ConnectStream
;
524
if (m_ContentLength == 0 && m_ConnectStream is
ConnectStream
) {
525
((
ConnectStream
)m_ConnectStream).CallDone();
net\System\Net\TransportContext.cs (2)
24
internal ConnectStreamContext(
ConnectStream
connectStream)
35
private
ConnectStream
connectStream;
net\System\Net\WebSockets\WebSocketConnectionStream.cs (3)
25
private readonly
ConnectStream
m_ConnectStream;
32
public WebSocketConnectionStream(
ConnectStream
connectStream, string connectionGroupName)
417
private void ConsumeConnectStreamBuffer(
ConnectStream
connectStream)