Пример #1
0
        private static async Task ProcessClient <TContext>(IHttpApplication <TContext> application, IPipeConnection pipeConnection)
        {
            var connection = new HttpConnection <TContext>(application, pipeConnection.Input, pipeConnection.Output);

            await connection.ProcessAllRequests();
        }
Пример #2
0
        private static async Task ProcessClient <TContext>(IHttpApplication <TContext> application, IDuplexPipe duplexPipe)
        {
            var connection = new HttpConnection <TContext>(application, duplexPipe.Input, duplexPipe.Output);

            await connection.ProcessAllRequests();
        }