// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Hosting
{
///
/// Represents a configured web application
///
public interface IWebApplication : IDisposable
{
///
/// The exposed by the configured server.
///
IFeatureCollection ServerFeatures { get; }
///
/// The for the application.
///
IServiceProvider Services { get; }
///
/// Starts listening on the configured addresses.
///
///
void Start();
}
}