using System.Net.Http;
namespace JSONAPI.Http
{
///
/// Service allowing you to get the base URL for a request
///
public interface IBaseUrlService
{
///
/// Gets the base URL for a request
///
string GetBaseUrl(HttpRequestMessage requestMessage);
///
/// Gets the context path JSONAPI is served under without slashes at the beginning and end.
///
///
string GetContextPath();
}
}