// 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.Server { /// /// Represents a server. /// public interface IServer : IDisposable { /// /// A collection of HTTP features of the server. /// IFeatureCollection Features { get; } /// /// Start the server with an HttpApplication. /// /// An instance of . void Start(IHttpApplication application); } }