// 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.AspNetCore.Builder;
namespace Microsoft.AspNetCore.SpaServices
{
///
/// Defines a class that provides mechanisms for configuring the hosting
/// of a Single Page Application (SPA) and attaching middleware.
///
public interface ISpaBuilder
{
///
/// The representing the middleware pipeline
/// in which the SPA is being hosted.
///
IApplicationBuilder ApplicationBuilder { get; }
///
/// Describes configuration options for hosting a SPA.
///
SpaOptions Options { get; }
}
}