// 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 Microsoft.Extensions.Configuration; namespace Microsoft.AspNet.Hosting.Server { /// /// Represents a factory for creating servers. /// public interface IServerFactory { /// /// Creates based on the given configuration. /// /// An instance of . /// The created server. IServer CreateServer(IConfiguration configuration); } }