IHasRequestFilterAsync
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 IHasRequestFilterAsync : IRequestFilterBase
Methods
RequestFilterAsync(IRequest, IResponse, Object)
The request filter is executed before the service.
View Source
Declaration
Task RequestFilterAsync(IRequest req, IResponse res, object requestDto)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.Web.IRequest | req | The http request wrapper |
| | ServiceStack.Web.IResponse | res | The http response wrapper
|
| System.Object
| requestDto | The request DTO
|