-
Notifications
You must be signed in to change notification settings - Fork 2
Solid.Http.Extensions.Zip Usage
Gísli Konráð Björnsson edited this page Mar 17, 2018
·
1 revision
Getting a ZipArchive from the response can be done as follows
var client = context.RequestServices.GetRequiredService<ISolidHttpClientFactory>().CreateWithBaseAddress("http://SomeBaseUri");
var zipArch = await client
.GetAsync("some/path/that/returns/zip/file", cancellationToken)
.As<ZipArchive>();