Has anyone figured out a way to batch http requests from a javascript client to a ServiceStack service? I have done this many times from a .NET client using .SendAll() but I haven't found a way to do it from javascript. From my understanding ss-utils.js does not have a function for this.
Sending a Batched Request to ServiceStack just involves POST'ing an Array of Request DTOs to the built-in route:
/json/reply/Request[]
Where Request
is the name of your Request DTO.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.