using Firestorm.Endpoints.Requests;
using Firestorm.Host.Infrastructure;
using JetBrains.Annotations;

namespace Firestorm.Endpoints
{
    /// <summary>
    /// The context for the request to an <see cref="IRestEndpoint"/>.
    /// </summary>
    public interface IEndpointContext
    {
        /// <summary>
        /// 
        /// </summary>
        IEndpointCoreServices Services { get; }
        
        /// <summary>
        /// An object containing information about the request.
        /// </summary>
        IRequestContext Request { get; }
    }
}