Skip to main content

PreProcessRequest

Assembly: ServiceStack.dll
View Source
Declaration
public class PreProcessRequest : IPlugin, IHasStringId, IHasId<string>

Properties

Id

View Source
Declaration
public string Id { get; }

HandleUploadFileAsync

Handle async file uploads

View Source
Declaration
public Func<IRequest, IHttpFile, CancellationToken, Task<string>> HandleUploadFileAsync { get; set; }

Methods

Register(IAppHost)

View Source
Declaration
public void Register(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

HandleFileUploadsAsync(IRequest, IResponse, Object)

View Source
Declaration
public async Task HandleFileUploadsAsync(IRequest req, IResponse res, object dto)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.Web.IRequestreq
ServiceStack.Web.IResponseres
System.Objectdto

Implements