using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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, IResponse res, object requestDto);
///
/// A new shallow copy of this filter is used on every request.
///
///
IHasRequestFilter Copy();
}
}