Esempio n. 1
0
        internal Stream MakeResponseStream()
        {
            var sessionHandle = new FakeSafeWinHttpHandle(true);
            var connectHandle = new FakeSafeWinHttpHandle(true);
            var requestHandle = new FakeSafeWinHttpHandle(true);

            return(new WinHttpResponseStream(sessionHandle, connectHandle, requestHandle));
        }
Esempio n. 2
0
        internal Stream MakeRequestStream()
        {
            SafeWinHttpHandle requestHandle = new FakeSafeWinHttpHandle(true);

            return(new WinHttpRequestStream(requestHandle, false));
        }
        internal Stream MakeResponseStream()
        {
            var sessionHandle = new FakeSafeWinHttpHandle(true);
            var connectHandle = new FakeSafeWinHttpHandle(true);
            var requestHandle = new FakeSafeWinHttpHandle(true);

            return new WinHttpResponseStream(sessionHandle, connectHandle, requestHandle);
        }
        internal Stream MakeRequestStream()
        {
            SafeWinHttpHandle requestHandle = new FakeSafeWinHttpHandle(true);

            return new WinHttpRequestStream(requestHandle, false);
        }