1 write to _application
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTestsBase.cs (1)
39_application = pair.Application;
44 references to _application
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (44)
Http1\Http1ConnectionTests.cs (42)
32await _application.Output.WriteAsync(Encoding.UTF8.GetBytes($"{headerName}: ")); 33await _application.Output.WriteAsync(headerValueBytes); 34await _application.Output.WriteAsync(Encoding.UTF8.GetBytes("\r\n\r\n")); 51await _application.Output.WriteAsync(extendedAsciiEncoding.GetBytes($"{headerName}: ")); 52await _application.Output.WriteAsync(headerValueBytes); 53await _application.Output.WriteAsync(extendedAsciiEncoding.GetBytes("\r\n\r\n")); 66await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{headerLine}\r\n")); 77await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{headerLine}\r\n")); 94await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{headerLines}\r\n")); 120await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{startLine}")); 135await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{headerLine}\r\n")); 195await _application.Output.WriteAsync(data); 199var read = await _application.Input.ReadAsync(); 211_application.Input.AdvanceTo(consumed, examined); 273await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{headerLine1}\r\n")); 285await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"{headerLine2}\r\n")); 410await _application.Output.WriteAsync(requestLineBytes); 433await _application.Output.WriteAsync(requestLineBytes); 448await _application.Output.WriteAsync(Encoding.ASCII.GetBytes("G")); 462await _application.Output.WriteAsync(requestLineBytes); 476await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"GET {target} HTTP/1.1\r\n")); 490await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"GET {target} HTTP/1.1\r\n")); 507await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(requestLine)); 524await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"GET {target} HTTP/1.1\r\n")); 541await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(requestLine)); 556await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(requestLine)); 579_application.Output.Complete(); 661await _application.Output.WriteAsync(data); 667_application.Output.Complete(); 718var writer = _application.Output; 732var writer = _application.Output; 828_application.Input.Complete(); 845await _application.Output.WriteAsync(Encoding.ASCII.GetBytes($"GET /%00 HTTP/1.1\r\n")); 877await _application.Output.WriteAsync(Encoding.ASCII.GetBytes("GET / HTTP/1.0\r\n")); 881await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(headers0)); 885await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(headers1)); 889await _application.Output.WriteAsync(Encoding.ASCII.GetBytes("\r\n")); 909await _application.Output.WriteAsync(Encoding.ASCII.GetBytes("GET / HTTP/1.0\r\n")); 917await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(headers0)); 922await _application.Output.WriteAsync(Encoding.ASCII.GetBytes(headers1)); 927await _application.Output.WriteAsync(Encoding.ASCII.GetBytes("\r\n")); 966await _application.Output.WriteAsync(data);
Http1\Http1ConnectionTestsBase.cs (2)
73_application.Input.Complete(); 74_application.Output.Complete();