Skip to main content

IHasRequestFilter

This interface can be implemented by an attribute which adds an request filter for the specific request DTO the attribute marked.

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IHasRequestFilter : IRequestFilterBase

Methods

RequestFilter(IRequest, IResponse, Object)

The request filter is executed before the service.

View Source
Declaration
void RequestFilter(IRequest req, IResponse res, object requestDto)
Parameters
TypeNameDescription
ServiceStack.Web.IRequestreqThe http request wrapper

| | ServiceStack.Web.IResponse | res | The http response wrapper

| | System.Object | requestDto | The request DTO

|