using Microsoft.AspNetCore.Http;
namespace MediaBrowser.Model.Services
{
public interface IHasRequestFilter
{
///
/// Order in which Request Filters are executed.
/// <0 Executed before global request filters
/// >0 Executed after global request filters
///
int Priority { get; }
///
/// The request filter is executed before the service.
///
/// The http request wrapper
/// The http response wrapper
/// The request DTO
void RequestFilter(IRequest req, HttpResponse res, object requestDto);
}
}