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
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
HandleFileUploadsAsync(IRequest, IResponse, Object)
View Source
Declaration
public async Task HandleFileUploadsAsync(IRequest req, IResponse res, object dto)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
ServiceStack.Web.IResponse | res |
System.Object | dto |