ApplicationInsights.OwinExtensions.Tests.OwinIntegrationTests.Startup.ServeRequest C# (CSharp) Метод

ServeRequest() приватный статический Метод

private static ServeRequest ( IAppBuilder app ) : void
app IAppBuilder
Результат void
            private static void ServeRequest(IAppBuilder app)
            {
                app.Run(async context =>
                {
                    ActualOperationId = OperationIdContext.Get();

                    using (var client = new HttpClient())
                        await client.GetAsync("http://google.com");

                    context.Response.StatusCode = 200;
                    context.Response.Write("ok");
                });
            }
        }