6.0.0
The latest v6 Release is now dependency-free, where its PromiseKit async APIs have been replaced to use
Swift's native Concurrency support.
import ServiceStack
let client = JsonServiceClient(baseUrl:baseUrl)
Async
let request = Hello()
request.name = "World"
let response = try await client.postAsync(request)
print(response.result!)
Sync
let request = Hello()
request.name = "World"
let response = try client.post(request)
print(response.result!)